fix login pathing

This commit is contained in:
2026-03-21 00:29:06 +00:00
parent dc732429ff
commit 7a74873ffa
2 changed files with 3 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ const handleAuth = async () => {
}
authLoading.value = true
const endpoint = isLogin.value ? 'api/auth/login' : 'api/auth/register'
const endpoint = isLogin.value ? '/api/auth/login' : '/api/auth/register'
const url = `${config.public.apiBase}${endpoint}`