forked from administration/panel
chore: redirect unauthenticated users to home
parent
7898453990
commit
501687c399
|
@ -1,3 +1,8 @@
|
||||||
export { default } from "next-auth/middleware";
|
export { default } from "next-auth/middleware";
|
||||||
|
|
||||||
export const config = { matcher: ["/panel"] };
|
export const config = {
|
||||||
|
matcher: ["/panel"],
|
||||||
|
pages: {
|
||||||
|
signIn: "/",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue