fix: login suspense + migrate middleware to proxy
This commit is contained in:
@@ -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"],
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user