Replace port env var in healthcheck.js

This commit is contained in:
Kyle 2022-09-13 21:52:32 -06:00 committed by GitHub
parent db6fdf5e26
commit b382064384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",