mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-13 17:21:53 +00:00
fix: edit protected path from login
Took 2 minutes
This commit is contained in:
+7
-6
@@ -1,9 +1,10 @@
|
||||
export { default } from "next-auth/middleware"
|
||||
export {default} from 'next-auth/middleware';
|
||||
|
||||
export const config = {
|
||||
matcher: [
|
||||
"/dashboard",
|
||||
"/profile",
|
||||
'/chat/:path*'
|
||||
]
|
||||
}
|
||||
'/dashboard',
|
||||
'/userProfile',
|
||||
'/chat',
|
||||
'/chat/*',
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user