mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-24 07:21:09 -04:00
[Status Page] wip
This commit is contained in:
parent
7c7dbf68c1
commit
18ec42b060
6 changed files with 17 additions and 7 deletions
|
@ -220,11 +220,7 @@ async function checkPublished() {
|
|||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
async function isPublished() {
|
||||
const value = await setting("statusPagePublished");
|
||||
if (value === null) {
|
||||
return true;
|
||||
}
|
||||
return value;
|
||||
return true;
|
||||
}
|
||||
|
||||
function send403(res, msg = "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue