mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 15:09:19 +08:00
Make auto refresh interval customizable (#4260)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
@@ -155,6 +155,7 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||
statusPage.title = config.title;
|
||||
statusPage.description = config.description;
|
||||
statusPage.icon = config.logo;
|
||||
statusPage.autoRefreshInterval = config.autoRefreshInterval,
|
||||
statusPage.theme = config.theme;
|
||||
//statusPage.published = ;
|
||||
//statusPage.search_engine_index = ;
|
||||
@@ -280,6 +281,7 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||
statusPage.title = title;
|
||||
statusPage.theme = "auto";
|
||||
statusPage.icon = "";
|
||||
statusPage.autoRefreshInterval = 300;
|
||||
await R.store(statusPage);
|
||||
|
||||
callback({
|
||||
|
Reference in New Issue
Block a user