fix(aria): correct auth users/me endpoint path
Path was /api/auth/users/me but the auth controller is at /auth/api/users/me. Caused a CORS-then-404 error on every page load. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
onMount(() => {
|
||||
document.documentElement.classList.add('dark-mode');
|
||||
|
||||
authApi.get('/api/auth/users/me').then((res: any) => {
|
||||
authApi.get('/auth/api/users/me').then((res: any) => {
|
||||
userInfo = { name: res.data.name, email: res.data.email, role: res.data.role };
|
||||
}).catch(() => {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user