Manage domain names

This commit is contained in:
Louis Lam
2022-04-10 00:25:27 +08:00
parent 0b9b5102ec
commit c9fa183712
6 changed files with 157 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<StatusPage v-if="statusPageSlug" override-slug="statusPageSlug" />
<StatusPage v-if="statusPageSlug" :override-slug="statusPageSlug" />
</div>
</template>
@@ -27,7 +27,7 @@ export default {
if (res.type === "statusPageMatchedDomain") {
this.statusPageSlug = res.statusPageSlug;
} else if (res.type === "entryPage") { // Dev only
} else if (res.type === "entryPage") { // Dev only. For production, the logic is in the server side
const entryPage = res.entryPage;
if (entryPage === "statusPage") {