From 213c841b3cb91d89b9392ac82a46f07019f54efc Mon Sep 17 00:00:00 2001 From: AliVSCode Date: Wed, 7 Jan 2026 21:35:30 +0330 Subject: [PATCH] Create health-server.js --- health-server.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 health-server.js diff --git a/health-server.js b/health-server.js new file mode 100644 index 000000000..fcfa24a99 --- /dev/null +++ b/health-server.js @@ -0,0 +1,11 @@ +const http = require("http"); + +http.createServer((req, res) => { + if (req.url === "/healthz") { + res.writeHead(200); + res.end("ok"); + } else { + res.writeHead(404); + res.end(); + } +}).listen(3000);