mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 06:46:40 +08:00
Merge branch 'master' into 1.23.X-merge-to-2.X.X
# Conflicts: # server/model/monitor.js # server/util-server.js
This commit is contained in:
@@ -33,10 +33,10 @@ export default {
|
||||
|
||||
} else if (res.type === "entryPage") { // Dev only. For production, the logic is in the server side
|
||||
const entryPage = res.entryPage;
|
||||
|
||||
if (entryPage === "statusPage") {
|
||||
this.$router.push("/status");
|
||||
if (entryPage?.startsWith("statusPage-")) {
|
||||
this.$router.push("/status/" + entryPage.replace("statusPage-", ""));
|
||||
} else {
|
||||
// should the old setting style still exist here?
|
||||
this.$router.push("/dashboard");
|
||||
}
|
||||
} else if (res.type === "setup-database") {
|
||||
|
Reference in New Issue
Block a user