관리자 통계 대시보드 개선 및 v1.9.6 반영
통계 추이 차트 공통화, 유입 스택 막대, 집계 시작일 고정, traffic API 오류 수정, deploy 문서 정리를 포함한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -11,6 +11,7 @@ export default defineEventHandler(async (event) => {
|
||||
|
||||
const query = getQuery(event)
|
||||
const days = Number(query.days) || 30
|
||||
const period = String(query.period || 'weekly')
|
||||
|
||||
return getAnalyticsSummary({ days })
|
||||
return getAnalyticsSummary({ days, period })
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user