diff --git a/server/server.js b/server/server.js index 043d85bb7..34a23c9ea 100644 --- a/server/server.js +++ b/server/server.js @@ -201,8 +201,8 @@ exports.entryPage = "dashboard"; // Entry Page app.get("/", async (_request, response) => { - if (exports.entryPage === "statusPage") { - response.redirect("/status"); + if (exports.entryPage && exports.entryPage.startsWith("statusPage-")) { + response.redirect("/status/" + exports.entryPage.replace("statusPage-", "")); } else { response.redirect("/dashboard"); } diff --git a/src/components/settings/General.vue b/src/components/settings/General.vue index 459bb8d5d..e6896945c 100644 --- a/src/components/settings/General.vue +++ b/src/components/settings/General.vue @@ -62,31 +62,31 @@