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
@@ -46,7 +46,7 @@ const copyLink = async (event) => {
onMounted(async () => {
try {
const response = await fetch('/auth/create-link', { method: 'POST' })
const response = await fetch('/auth/api/create-link', { method: 'POST' })
const result = await response.json()
if (result.detail) throw new Error(result.detail)
+1 -1
View File
@@ -9,7 +9,7 @@
:created-at="authStore.userInfo.user.created_at"
:last-seen="authStore.userInfo.user.last_seen"
:loading="authStore.isLoading"
update-endpoint="/auth/user/display-name"
update-endpoint="/auth/api/user/display-name"
@saved="authStore.loadUserInfo()"
/>