Browse Source

fix: healthcheck script import

Signed-off-by: rare-magma <rare-magma@posteo.eu>
pull/3614/head
rare-magma 1 year ago
parent
commit
3cbfb15b3d
Failed to extract signature
  1. 4
      docker/healthcheck.js

4
docker/healthcheck.js

@ -1,4 +1,4 @@
const request = require("node:http");
const http = require("node:http");
const options = {
host : "localhost",
@ -6,7 +6,7 @@ const options = {
port : "3333",
};
const healthCheck = request(options, (res) => {
const healthCheck = http.request(options, (res) => {
if (res.statusCode === 200) {
process.exit(0);
}

Loading…
Cancel
Save