aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/app/page.tsx
blob: f467b64b0eb8fccf3bcc3fa447760923a748a077 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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");
}