diff --git a/proxy.ts b/proxy.ts index 84caa97..86e319e 100644 --- a/proxy.ts +++ b/proxy.ts @@ -1,7 +1,7 @@ import { getSessionCookie } from "better-auth/cookies"; import { type NextRequest, NextResponse } from "next/server"; -const authRoutes = new Set(["/login", "/register"]); +const authRoutes = new Set(["/login", "/register", "/setup"]); export function proxy(request: NextRequest) { const sessionCookie = getSessionCookie(request);