diff --git a/components/PageView.vue b/components/PageView.vue index 17506bc..3f17688 100644 --- a/components/PageView.vue +++ b/components/PageView.vue @@ -1,9 +1,11 @@ diff --git a/server/api/pageview.ts b/server/api/pageview.ts index c4340f8..c619093 100644 --- a/server/api/pageview.ts +++ b/server/api/pageview.ts @@ -1,3 +1,7 @@ +const startAt = Date.now() let count = 0 -export default () => ({ pageview: count++ }) +export default () => ({ + pageview: count++, + startAt, +})