Refactor API under /auth/api

This commit is contained in:
LeoVasanko committed 2025-09-03 02:32:19 +00:00
1 parent 5281432c96
commit 6e5ea9eac0
7 files changed
+208 -240

No files matched your search

+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