Replace port env var in healthcheck.js
This commit is contained in:
parent
db6fdf5e26
commit
b382064384
|
@ -25,7 +25,7 @@ if (!hostname && !FBSD) {
|
||||||
hostname = process.env.HOST;
|
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 = {
|
let options = {
|
||||||
host: hostname || "127.0.0.1",
|
host: hostname || "127.0.0.1",
|
||||||
|
|
Loading…
Reference in New Issue