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,