fix: login suspense + migrate middleware to proxy

This commit is contained in:
SpecialX
2026-01-08 11:35:15 +08:00
parent f513cf5399
commit 15d9ea9cb8

View File

@@ -42,3 +42,4 @@ export default auth((req: NextAuthRequest) => {
export const config = { export const config = {
matcher: ["/dashboard", "/admin/:path*", "/teacher/:path*", "/student/:path*", "/parent/:path*", "/settings/:path*", "/profile"], matcher: ["/dashboard", "/admin/:path*", "/teacher/:path*", "/student/:path*", "/parent/:path*", "/settings/:path*", "/profile"],
} }