mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 01:04:05 +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
|
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 a new issue