diff --git a/scripts/g14-gitops-render.mjs b/scripts/g14-gitops-render.mjs index 02652008..6dabb5d7 100644 --- a/scripts/g14-gitops-render.mjs +++ b/scripts/g14-gitops-render.mjs @@ -2841,7 +2841,7 @@ createServer((req, res) => { async function handle(req, res) { const url = new URL(req.url || "/", "http://git-mirror-http"); - if (req.method === "GET" && url.pathname === "/") { + if (req.method === "GET" && (url.pathname === "/" || url.pathname === "/health")) { res.writeHead(200, { "content-type": "application/json", "cache-control": "no-cache" }); res.end(JSON.stringify({ ok: true, service: "git-mirror-smart-http" })); return;