@@ -0,0 +1,11 @@
import { withAuth } from 'next-auth/middleware'
export default withAuth({
pages: {
signIn: '/login',
},
})
export const config = {
matcher: ['/dashboard/:path*'],
}
The note is not visible to the blocked user.