게시물 상세 사이드바 목차·광고 재배치와 세션 확인 개선

게시물 상세에서는 오른쪽 사이드에 목차와 광고를 배치하고, 비로그인 세션 확인 시 콘솔 401 로그가 나지 않도록 정리했다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-12 15:40:35 +09:00
parent eba7704ab8
commit 06271b3674
15 changed files with 214 additions and 61 deletions

View File

@@ -113,7 +113,7 @@ const markAvatarBroken = (commentId) => {
*/
const fetchMember = async () => {
try {
member.value = await $fetch('/api/auth/me')
member.value = await $fetch('/api/auth/me?optional=1')
} catch {
member.value = null
}