공개 페이지 전환 경고 정리

This commit is contained in:
2026-07-24 16:01:11 +09:00
parent 24dc6b8af0
commit b38eb234d8
16 changed files with 252 additions and 64 deletions

View File

@@ -16,10 +16,7 @@ const { data: post } = await useFetch(() => `/api/posts/${slug.value}`)
const { data: tags } = useLazyFetch('/api/tags?tagType=all', {
default: () => []
})
const { data: siteSettings } = useLazyFetch('/api/site-settings', {
key: 'site-settings-public',
default: () => ({})
})
const { data: siteSettings } = await usePublicSiteSettings()
const postToc = useState('post-detail-toc', () => [])
if (!post.value) {