fix: edit protected path from login

Took 2 minutes
This commit is contained in:
Lucàs
2023-04-11 22:01:24 +02:00
parent 864c701205
commit 7b6733bc09
+7 -6
View File
@@ -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/*',
],
};