1
0
Fork 0

chore: redirect unauthenticated users to home

fix-1
Paul Makles 2023-07-30 12:02:14 +01:00
parent 7898453990
commit 501687c399
No known key found for this signature in database
GPG Key ID: 5059F398521BB0F6
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
export { default } from "next-auth/middleware";
export const config = { matcher: ["/panel"] };
export const config = {
matcher: ["/panel"],
pages: {
signIn: "/",
},
};