Slightly prettier analytics URL

This commit is contained in:
2026-08-21 23:58:00 +00:00
parent 6199e5a69e
commit 29f8fac013
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ let app = null
export function mount(container) {
if (app) return
app = createApp(AnalyticsView, {
initialRange: new URLSearchParams(location.search).get('range') || 'week',
initialRange: location.hash.slice(1) || 'week',
})
app.mount(container)
}