Refactor API under /auth/api

This commit is contained in:
2025-09-03 02:32:19 +00:00
parent 5281432c96
commit 6e5ea9eac0
7 changed files with 208 additions and 240 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ async function load() {
loading.value = true
error.value = null
try {
const res = await fetch('/auth/user-info', { method: 'POST' })
const res = await fetch('/auth/api/user-info', { method: 'POST' })
const data = await res.json()
if (data.detail) throw new Error(data.detail)
info.value = data