diff --git a/src/middleware.ts b/src/middleware.ts index 7974308..37ed824 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -1,9 +1,10 @@ -export { default } from "next-auth/middleware" +export {default} from 'next-auth/middleware'; export const config = { matcher: [ - "/dashboard", - "/profile", - '/chat/:path*' - ] -} \ No newline at end of file + '/dashboard', + '/userProfile', + '/chat', + '/chat/*', + ], +}; \ No newline at end of file