[Status Page] wip

This commit is contained in:
Louis Lam
2022-03-16 14:14:47 +08:00
parent 7c7dbf68c1
commit 18ec42b060
6 changed files with 17 additions and 7 deletions

View File

@@ -436,6 +436,14 @@ export default {
this.slug = "default";
}
axios.get("/api/status-page/" + this.slug).then((res) => {
this.config = res.data;
if (this.config.logo) {
this.imgDataUrl = this.config.logo;
}
});
axios.get("/api/status-page/config/" + this.slug).then((res) => {
this.config = res.data;