diff --git a/middleware.js b/middleware.js index b0201c2..a2bad88 100644 --- a/middleware.js +++ b/middleware.js @@ -1,3 +1,8 @@ export { default } from "next-auth/middleware"; -export const config = { matcher: ["/panel"] }; +export const config = { + matcher: ["/panel"], + pages: { + signIn: "/", + }, +};