Middleware protected routes
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export { default } from 'next-auth/middleware';
|
||||
|
||||
export const config = {
|
||||
matcher: ['/properties/add', '/profile', '/properties/saved', '/messages'],
|
||||
};
|
||||
Reference in New Issue
Block a user