mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 13:35:56 +00:00
Compare commits
No commits in common. "38a1c0348054add0888168a5cbe12e393a184b2f" and "a26959def3276ddc6b1116ac3266786bdc832517" have entirely different histories.
38a1c03480
...
a26959def3
3 changed files with 2 additions and 2 deletions
|
@ -32,6 +32,7 @@ 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
|
||||||
|
|
|
@ -62,7 +62,6 @@ Requirements:
|
||||||
- Platform
|
- Platform
|
||||||
- ✅ Major Linux distros such as Debian, Ubuntu, CentOS, Fedora and ArchLinux etc.
|
- ✅ Major Linux distros such as Debian, Ubuntu, CentOS, Fedora and ArchLinux etc.
|
||||||
- ✅ Windows 10 (x64), Windows Server 2012 R2 (x64) or higher
|
- ✅ Windows 10 (x64), Windows Server 2012 R2 (x64) or higher
|
||||||
- ❌ FreeBSD / OpenBSD / NetBSD
|
|
||||||
- ❌ Replit / Heroku
|
- ❌ Replit / Heroku
|
||||||
- [Node.js](https://nodejs.org/en/download/) 18 / 20.4
|
- [Node.js](https://nodejs.org/en/download/) 18 / 20.4
|
||||||
- [npm](https://docs.npmjs.com/cli/) 9
|
- [npm](https://docs.npmjs.com/cli/) 9
|
||||||
|
|
|
@ -485,7 +485,7 @@ function ApiCache() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof duration === "string") {
|
if (typeof duration === "string") {
|
||||||
let split = duration.match(/^([\d\.,]+)\s?([a-zA-Z]+)$/);
|
let split = duration.match(/^([\d\.,]+)\s?(\w+)$/);
|
||||||
|
|
||||||
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