1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-07-09 07:46:48 +01:00
elk/server/api/pageview.ts
2022-11-13 13:34:43 +08:00

8 lines
121 B
TypeScript

const startAt = Date.now()
let count = 0
export default defineEventHandler(() => ({
pageview: count++,
startAt,
}))