refactor(auth): from auth to api

This commit is contained in:
Cipher Vance 2025-09-09 09:07:20 -05:00
parent aa8dad9809
commit 223f1e8165
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ export default {
this.loginSuccess = false; this.loginSuccess = false;
try { try {
const response = await axios.post('http://localhost:5000/auth/login', { const response = await axios.post('http://localhost:5000/api/login', {
username: this.username, username: this.username,
password: this.password, password: this.password,
}); });

View file

@ -302,7 +302,7 @@ export default {
this.successMessage = null; this.successMessage = null;
try { try {
const response = await axios.post('http://localhost:5000/auth/signup', { const response = await axios.post('http://localhost:5000/api/signup', {
firstName: this.firstName, firstName: this.firstName,
lastName: this.lastName, lastName: this.lastName,
username: this.username, username: this.username,