Fix theme color that do not apply to status page with a custom domain

This commit is contained in:
Louis Lam
2022-04-10 13:46:00 +08:00
parent 316e65d35a
commit f030487f7d
2 changed files with 6 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ export default {
if (res.type === "statusPageMatchedDomain") {
this.statusPageSlug = res.statusPageSlug;
this.$root.forceStatusPageTheme = true;
} else if (res.type === "entryPage") { // Dev only. For production, the logic is in the server side
const entryPage = res.entryPage;