From 53b593086cce3710e814f10ad40ffbf20b58ffde Mon Sep 17 00:00:00 2001 From: NekoVari Date: Thu, 12 Oct 2023 17:28:22 +0700 Subject: [PATCH] change url to https --- 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 d97a1a5..4dc146f 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -94,7 +94,7 @@ export default { login() { if (this.input.username !== '' && this.input.password !== '') { console.log('Authenticated: Checking with Backend'); - fetch(`http://test.techtransthai.org:5001/api/users/login`, { + fetch(`https://little-lines-backend.techtransthai.org/api/users/login`, { method: "POST", headers: { "Content-Type": "application/json", diff --git a/src/views/Register.vue b/src/views/Register.vue index c4319ea..64057e3 100644 --- a/src/views/Register.vue +++ b/src/views/Register.vue @@ -108,7 +108,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg'; register() { if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) { console.log('Authenticated: Checking with Backend'); - fetch("http://test.techtransthai.org:5001/api/users/create", { + fetch("https://little-lines-backend.techtransthai.org/api/users/create", { method: "POST", headers: { 'Content-Type': 'application/json',