From 223f1e8165a8c23318125c736159b4a2b4ecf94f Mon Sep 17 00:00:00 2001 From: Cipher Vance Date: Tue, 9 Sep 2025 09:07:20 -0500 Subject: [PATCH] refactor(auth): from auth to api --- src/components/UserLogin.vue | 2 +- src/components/UserSignup.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/UserLogin.vue b/src/components/UserLogin.vue index f12a13e..4fc12c8 100644 --- a/src/components/UserLogin.vue +++ b/src/components/UserLogin.vue @@ -153,7 +153,7 @@ export default { this.loginSuccess = false; try { - const response = await axios.post('http://localhost:5000/auth/login', { + const response = await axios.post('http://localhost:5000/api/login', { username: this.username, password: this.password, }); diff --git a/src/components/UserSignup.vue b/src/components/UserSignup.vue index e700c2e..bb7f18e 100644 --- a/src/components/UserSignup.vue +++ b/src/components/UserSignup.vue @@ -302,7 +302,7 @@ export default { this.successMessage = null; try { - const response = await axios.post('http://localhost:5000/auth/signup', { + const response = await axios.post('http://localhost:5000/api/signup', { firstName: this.firstName, lastName: this.lastName, username: this.username, -- 2.47.3