Fixed update checker making requests to uptime.kuma.pet even when turned off (#2281)
* fix: update checker - fixed bug where it would make the request to uptime.kuma.pet regardless of the `checkUpdate` config; - defined constants in the top of the document for easier configuration/documentation; - removed unnecessary compareVersions: we were comparing the same var on both sides res.data.beta, so it will always be equal. * improvement: better logging and added doc * improved UPDATE_CHECKER_INTERVAL_MS const --------- Co-authored-by: Louis Lam <louislam@users.noreply.github.com>pull/3355/head
parent
a0736e04b2
commit
bd5496d267
Loading…
Reference in new issue