Open saranshisatgit opened 10 months ago
Alright the code here does the magic just needed to implement this
return NextResponse.rewrite(
new URL(`/app${path === "/" ? "" : path}`, req.url),
);
Does this resolves the app.subdomain/sitename/slug 404 ?
if (session == null && path.startsWith("/verify")) { return NextResponse.next(); }
Added this under
/app/(auth)/verify/page.tsx