Merge pull request #2870 from chakflying/feat/auto-theme-status-page

Feat: Support auto theme in status pages
This commit is contained in:
Louis Lam
2023-04-03 02:38:30 +08:00
committed by GitHub
3 changed files with 11 additions and 4 deletions

View File

@@ -276,7 +276,7 @@ module.exports.statusPageSocketHandler = (socket) => {
let statusPage = R.dispense("status_page");
statusPage.slug = slug;
statusPage.title = title;
statusPage.theme = "light";
statusPage.theme = "auto";
statusPage.icon = "";
await R.store(statusPage);