mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 05:25:56 +00:00
Compare commits
3 commits
590efae588
...
6d85ba6fb0
Author | SHA1 | Date | |
---|---|---|---|
|
6d85ba6fb0 | ||
|
03beef8006 | ||
|
223cde831f |
2 changed files with 1 additions and 2 deletions
|
@ -32,7 +32,6 @@ tsconfig.json
|
||||||
/extra/healthcheck.exe
|
/extra/healthcheck.exe
|
||||||
/extra/healthcheck
|
/extra/healthcheck
|
||||||
/extra/exe-builder
|
/extra/exe-builder
|
||||||
/extra/push-examples
|
|
||||||
/extra/uptime-kuma-push
|
/extra/uptime-kuma-push
|
||||||
|
|
||||||
# Comment the following line if you want to rebuild the healthcheck binary
|
# Comment the following line if you want to rebuild the healthcheck binary
|
||||||
|
|
|
@ -485,7 +485,7 @@ function ApiCache() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof duration === "string") {
|
if (typeof duration === "string") {
|
||||||
let split = duration.match(/^([\d\.,]+)\s?(\w+)$/);
|
let split = duration.match(/^([\d\.,]+)\s?([a-zA-Z]+)$/);
|
||||||
|
|
||||||
if (split.length === 3) {
|
if (split.length === 3) {
|
||||||
let len = parseFloat(split[1]);
|
let len = parseFloat(split[1]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue