[status page] also apply the title to <title>

This commit is contained in:
LouisLam 2021-09-21 23:59:46 +08:00
parent a71814c80b
commit 0834770509

View File

@ -358,6 +358,10 @@ export default {
"config.statusPageTheme"() { "config.statusPageTheme"() {
this.$root.statusPageTheme = this.config.statusPageTheme; this.$root.statusPageTheme = this.config.statusPageTheme;
this.loadedTheme = true; this.loadedTheme = true;
},
"config.title"(title) {
document.title = title;
} }
}, },
@ -405,7 +409,7 @@ export default {
this.updateHeartbeatList(); this.updateHeartbeatList();
feedInterval = setInterval(() => { feedInterval = setInterval(() => {
this.updateHeartbeatList(); this.updateHeartbeatList();
}, 10 * 1000); }, 5 * 60 * 1000);
}, },
methods: { methods: {