Skip to content

Commit

Permalink
🔀 Merge pull request #1384 from stavros-k/patch-1
Browse files Browse the repository at this point in the history
Fix healthcheck.js without ssl
  • Loading branch information
Lissy93 authored Nov 14, 2023
2 parents 6a39aaa + 2839821 commit e511c2b
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

1 comment on commit e511c2b

@vercel
Copy link

@vercel vercel bot commented on e511c2b Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dashy – ./

dashy-delta.vercel.app
dashy-git-master-alicia.vercel.app
dashy-alicia.vercel.app

Please sign in to comment.