Add protocol

This commit is contained in:
PJ 2022-01-17 13:25:54 +01:00
parent f0e2770f73
commit 45e0398afe
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ async function blockerHealthCheck(done) {
const data = { up: false };
try {
const response = await got(`${process.env.BLOCKER_HOST}:${process.env.BLOCKER_PORT}/health`, { responseType: "json" });
const response = await got(`http://${process.env.BLOCKER_HOST}:${process.env.BLOCKER_PORT}/health`, { responseType: "json" });
data.statusCode = response.statusCode;
data.response = response.body;