Add middleware

Took 1 hour 8 minutes
This commit is contained in:
Lucàs
2023-03-28 15:10:57 +02:00
parent 28be7ce223
commit caabf0ac7a
3 changed files with 17 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
export { default } from "next-auth/middleware"
export const config = {
matcher: [
"/dashboard",
"/profile",
'/chat/:path*'
]
}