Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

disable main page

Blue Mousef65211c5b55b
diff --git a/web/app/routes/index.tsx b/web/app/routes/index.tsx
index d1772e261..1b4719fa5 100644
--- a/web/app/routes/index.tsx
+++ b/web/app/routes/index.tsx
@@ -48,6 +48,9 @@ export const sitemap: SitemapFunction = () => ({
})
export async function loader({ request }: LoaderFunctionArgs) {
+ return redirect('/dashboard', 302)
+
+ // eslint-disable-next-line no-unreachable
if (isSelfhosted) {
return redirect('/login', 302)
}
@@ -66,6 +69,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
}
if (userAgent) {
+ // @ts-expect-error
const parser = new UAParser(userAgent)
deviceInfo = {