mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
PR feedback: remove spaces in comments
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
df8f93f0c2
commit
a9d264ccfc
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ router.get("/api/badge/:id/uptime/:duration?", cache("5 minutes"), async (reques
|
|||
requestedMonitorId
|
||||
);
|
||||
|
||||
// limit the displayed uptime percentage to four ( two, when displayed as percent ) decimal digits
|
||||
// limit the displayed uptime percentage to four (two, when displayed as percent) decimal digits
|
||||
const cleanUptime = parseFloat(uptime.toPrecision(4));
|
||||
|
||||
// use a given, custom color or calculate one based on the uptime value
|
||||
|
|
Loading…
Reference in a new issue