mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix: Entry page setting in Dev mode (#3940)
This commit is contained in:
parent
b32d869823
commit
201c10416e
1 changed files with 3 additions and 3 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue