관리자 통계 제외와 콘텐츠 링크 정리

This commit is contained in:
2026-06-30 12:32:18 +09:00
parent 901463e5f3
commit 4e2ec3d7a2
23 changed files with 209 additions and 64 deletions

View File

@@ -0,0 +1,8 @@
import { getAdminSession } from './admin-auth.js'
/**
* 관리자 세션의 통계 수집 제외 여부를 확인한다.
* @param {import('h3').H3Event} event - 요청 이벤트
* @returns {boolean} 통계 수집 제외 여부
*/
export const shouldExcludeAdminAnalytics = (event) => Boolean(getAdminSession(event))