refactor(auth): from auth to api #2

Merged
blakeridgway merged 1 commit from feat/auth_rework into main 2025-09-09 14:08:52 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -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,
});

View file

@ -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,