mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 06:16:52 +00:00
change to serverIp
This commit is contained in:
parent
a371a84426
commit
d769d44e60
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ export default {
|
|||
login() {
|
||||
if (this.input.username !== '' && this.input.password !== '') {
|
||||
console.log('Authenticated: Checking with Backend');
|
||||
fetch(`http://localhost:5000/api/users/login`, {
|
||||
fetch(`http://test.techtransthai.org:5001/api/users/login`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
register() {
|
||||
if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) {
|
||||
console.log('Authenticated: Checking with Backend');
|
||||
fetch("http://localhost:5000/api/users/create", {
|
||||
fetch("http://test.techtransthai.org:5001/api/users/create", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in a new issue