Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Update index.tsx

Daniele45384c8558f
diff --git a/pages/index.tsx b/pages/index.tsx
index aa5897c1..64d68170 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,3 +1,10 @@
+import { useRouter } from "next/router";
+import { useEffect } from "react";
+
export default function Index() {
- return null;
+ const router = useRouter();
+
+ useEffect(() => {
+ router.push("/login");
+ }, []);
}