@@ -31,7 +31,7 @@ export default async function RootMaintenancePage() {
|
||||
const authenticated = isAdminAuthenticated();
|
||||
|
||||
if (!authenticated) {
|
||||
redirect("/root");
|
||||
redirect("/");
|
||||
}
|
||||
|
||||
const maintenanceEnabled = await getMaintenanceMode();
|
||||
@@ -39,7 +39,7 @@ export default async function RootMaintenancePage() {
|
||||
"use server";
|
||||
|
||||
clearAdminSessionCookie();
|
||||
redirect("/root");
|
||||
redirect("/");
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user