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