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
12 lines
244 B
TypeScript
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")
|
|
}
|
|
} |