From 3cbfb15b3deae626e02971177a1899289948ae9d Mon Sep 17 00:00:00 2001 From: rare-magma Date: Sat, 27 Jul 2024 11:46:50 +0200 Subject: [PATCH] fix: healthcheck script import Signed-off-by: rare-magma --- docker/healthcheck.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/healthcheck.js b/docker/healthcheck.js index a424254f3..4222a472e 100644 --- a/docker/healthcheck.js +++ b/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); }