1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2025-01-26 03:52:28 +02:00
Francisco Marques bd5496d267
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>
2023-07-03 15:28:03 +08:00
..
2023-05-13 01:51:23 +08:00
2023-02-04 16:58:39 +08:00
2023-07-03 14:50:30 +08:00
2022-04-20 19:56:40 +01:00
2023-06-26 04:49:49 +08:00
2023-07-03 14:50:30 +08:00
2023-02-04 17:03:00 +08:00
2023-05-13 00:59:58 +08:00
2023-07-03 14:50:30 +08:00
2022-12-08 19:13:47 +08:00
2023-01-05 22:19:05 +00:00
2023-07-03 14:50:30 +08:00