web/app/account/page.tsx
Aidan 8616db7649
All checks were successful
Build and Push Docker Image / build_and_push (push) Successful in 4s
Build and Push Nightly CI Image / build_and_push (push) Successful in 4s
Bump Dependencies / update-dependencies (push) Successful in 1m11s
task: cleanup/linting
2025-02-24 23:31:48 -05:00

12 lines
244 B
TypeScript

import { auth } from "@/auth"
import { redirect } from "next/navigation"
export default async function Page() {
const session = await auth()
if (session) {
redirect("/account/dashboard")
} else {
redirect("/account/login")
}
}