Add protocol
This commit is contained in:
parent
f0e2770f73
commit
45e0398afe
|
@ -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;
|
||||
|
|
Reference in New Issue