[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

@ -107,12 +107,14 @@ module.exports.statusPageSocketHandler = (socket) => {
statusPage.slug = config.slug;
statusPage.title = config.title;
statusPage.description = config.description;
statusPage.icon = config.logo;
statusPage.theme = config.theme;
//statusPage.published = ;
//statusPage.search_engine_index = ;
statusPage.show_tags = config.showTags;
//statusPage.password = null;
statusPage.modified_date = R.isoDateTime();
await R.store(statusPage);