mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-21 06:02:04 -04:00
Make auto refresh interval customizable (#4260)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
4e24e96dab
commit
e856cb6007
5 changed files with 34 additions and 8 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue