Skip to content

Commit 8671672

Browse files
authored
Update healthcheck.js (#405)
Ensure it checks IPv4 localhost
1 parent 394ec7f commit 8671672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.docker/healthcheck.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var request;
66
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
77

88
var options = {
9-
host : "localhost",
9+
host : "127.0.0.1",
1010
port : settings.uiPort || 1880,
1111
timeout : 4000
1212
};
@@ -31,4 +31,4 @@ request.on('error', function(err) {
3131
process.exit(1);
3232
});
3333

34-
request.end();
34+
request.end();

0 commit comments

Comments
 (0)