From d769d44e601c23acee736436097710f3a0687c30 Mon Sep 17 00:00:00 2001 From: NekoVari Date: Sat, 30 Sep 2023 12:01:28 +0700 Subject: [PATCH] change to serverIp --- src/views/Login.vue | 2 +- src/views/Register.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Login.vue b/src/views/Login.vue index c2cfabd..605ee9e 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -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", diff --git a/src/views/Register.vue b/src/views/Register.vue index 563711a..2b4040e 100644 --- a/src/views/Register.vue +++ b/src/views/Register.vue @@ -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',