change to serverIp

This commit is contained in:
NekoVari 2023-09-30 12:01:28 +07:00
parent a371a84426
commit d769d44e60
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ export default {
login() { login() {
if (this.input.username !== '' && this.input.password !== '') { if (this.input.username !== '' && this.input.password !== '') {
console.log('Authenticated: Checking with Backend'); console.log('Authenticated: Checking with Backend');
fetch(`http://localhost:5000/api/users/login`, { fetch(`http://test.techtransthai.org:5001/api/users/login`, {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",

View file

@ -50,7 +50,7 @@
register() { register() {
if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) { if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) {
console.log('Authenticated: Checking with Backend'); console.log('Authenticated: Checking with Backend');
fetch("http://localhost:5000/api/users/create", { fetch("http://test.techtransthai.org:5001/api/users/create", {
method: "POST", method: "POST",
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',