mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00:00
Replace port env var in healthcheck.js
This commit is contained in:
parent
db6fdf5e26
commit
b382064384
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if (!hostname && !FBSD) {
|
|||
hostname = process.env.HOST;
|
||||
}
|
||||
|
||||
const port = parseInt(process.env.UPTIME_KUMA_PORT || process.env.PORT || 3001);
|
||||
const port = parseInt(process.env.UPTIME_KUMA_SERVICE_PORT || process.env.PORT || 3001);
|
||||
|
||||
let options = {
|
||||
host: hostname || "127.0.0.1",
|
||||
|
|
Loading…
Reference in a new issue