[status page] checkpoint

This commit is contained in:
LouisLam 2021-09-14 23:27:11 +08:00
parent 9902c181bc
commit afe91078c4
6 changed files with 64 additions and 32 deletions

View file

@ -12,6 +12,10 @@ router.get("/api/status-page/config", async (_request, response) => {
config.statusPageTheme = "light";
}
if (! config.title) {
config.title = "Uptime Kuma";
}
response.json(config);
});