Post detail page

This commit is contained in:
2025-08-04 01:46:26 +08:00
parent db5d631049
commit 1a05f16299
9 changed files with 133 additions and 8 deletions

View File

@@ -183,7 +183,7 @@ async function fetchUser() {
console.log('[Fetch] Using the API to load user data.')
try {
const resp = await fetch(`/api/accounts/${route.params.name}`)
const resp = await fetch(`/api/accounts/${route.params.slug}`)
user.value = await resp.json()
} catch (err) {
console.error(err)