diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue
index 6228d4fb8..c3e863dee 100644
--- a/src/layouts/Layout.vue
+++ b/src/layouts/Layout.vue
@@ -19,7 +19,7 @@
-
-
+
{{ $t("Status Page") }}
diff --git a/src/mixins/socket.js b/src/mixins/socket.js
index badef41b4..3ff4ddcd2 100644
--- a/src/mixins/socket.js
+++ b/src/mixins/socket.js
@@ -6,6 +6,7 @@ let socket;
const noSocketIOPages = [
"/status-page",
+ "/status",
"/"
];
diff --git a/src/mixins/theme.js b/src/mixins/theme.js
index e35f3a21e..73a52e20b 100644
--- a/src/mixins/theme.js
+++ b/src/mixins/theme.js
@@ -33,7 +33,7 @@ export default {
return "light";
}
- if (this.path === "/status-page") {
+ if (this.path === "/status-page" || this.path === "/status") {
return this.statusPageTheme;
} else {
if (this.userTheme === "auto") {
diff --git a/src/pages/Entry.vue b/src/pages/Entry.vue
index 2dd3862a6..6148ec56d 100644
--- a/src/pages/Entry.vue
+++ b/src/pages/Entry.vue
@@ -10,7 +10,7 @@ export default {
let entryPage = (await axios.get("/api/entry-page")).data;
if (entryPage === "statusPage") {
- this.$router.push("/status-page");
+ this.$router.push("/status");
} else {
this.$router.push("/dashboard");
}
diff --git a/src/router.js b/src/router.js
index 078c446b4..8739aa61d 100644
--- a/src/router.js
+++ b/src/router.js
@@ -72,6 +72,10 @@ const routes = [
path: "/status-page",
component: StatusPage,
},
+ {
+ path: "/status",
+ component: StatusPage,
+ },
];
export const router = createRouter({