aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/page.tsx')
-rw-r--r--apps/web/app/page.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/web/app/page.tsx b/apps/web/app/page.tsx
new file mode 100644
index 00000000..f467b64b
--- /dev/null
+++ b/apps/web/app/page.tsx
@@ -0,0 +1,12 @@
+import { getServerAuthSession } from "@/server/auth";
+import { redirect } from "next/navigation";
+
+export default async function Home() {
+ // TODO: Home currently just redirects between pages until we build a proper landing page
+ const session = await getServerAuthSession();
+ if (!session) {
+ redirect("/signin");
+ }
+
+ redirect("/dashboard/bookmarks");
+}