mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-16 19:24:41 -05:00
PR feedback: remove spaces in comments
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
df8f93f0c2
commit
a9d264ccfc
@ -313,7 +313,7 @@ router.get("/api/badge/:id/uptime/:duration?", cache("5 minutes"), async (reques
|
|||||||
requestedMonitorId
|
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));
|
const cleanUptime = parseFloat(uptime.toPrecision(4));
|
||||||
|
|
||||||
// use a given, custom color or calculate one based on the uptime value
|
// use a given, custom color or calculate one based on the uptime value
|
||||||
|
Loading…
Reference in New Issue
Block a user