blob: ca076cbf6e4648ac0e4514cc465bdc6c64650188 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { redirect } from "next/navigation";
import { getServerAuthSession } from "@/server/auth";
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");
}
|