Skip to content

Commit

Permalink
Fix healthcheck.js without ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k authored Nov 13, 2023
1 parent 50dc623 commit 2839821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/healthcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const http = require(isSsl ? 'https' : 'http');

/* Location of the server to test */
const isDocker = !!process.env.IS_DOCKER;
const port = isSsl ? (process.env.SSL_PORT || (isDocker ? 443 : 4001)) : (process.env.PORT || isDocker ? 80 : 4000);
const port = isSsl ? (process.env.SSL_PORT || (isDocker ? 443 : 4001)) : (process.env.PORT || (isDocker ? 80 : 4000));
const host = process.env.HOST || '0.0.0.0';
const timeout = 2000;

Expand Down

0 comments on commit 2839821

Please sign in to comment.