v1.3.3: 자체 최소 통계 및 스플래시 localStorage 정리
- 일별 익명 방문자 해시·사이트/게시물 통계(030 마이그레이션) - POST /api/analytics/pageview, 관리자 analytics API, 클라이언트 트래커 - 관리자 대시보드 통계 카드·인기 게시물 Top 5 - 스플래시: SITE_BRAND_LOGO_TEXT localStorage 제거
This commit is contained in:
8
server/api/analytics/pageview.post.js
Normal file
8
server/api/analytics/pageview.post.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { handleAnalyticsPageview } from '../../utils/analytics-pageview-input.js'
|
||||
|
||||
/**
|
||||
* 공개 페이지뷰·읽음 통계 수집 API
|
||||
* @param {import('h3').H3Event} event - 요청 이벤트
|
||||
* @returns {Promise<{ ok: true }>}
|
||||
*/
|
||||
export default defineEventHandler((event) => handleAnalyticsPageview(event))
|
||||
Reference in New Issue
Block a user