From 4045e30cd2abd90ebdfd33e600cd65ae27572e7f Mon Sep 17 00:00:00 2001 From: Wild Dragon Dev Date: Thu, 4 Jun 2026 01:54:38 +0000 Subject: [PATCH] fix(node-agent): make http server handler async --- services/node-agent/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/node-agent/index.js b/services/node-agent/index.js index 2201ca6..838a219 100644 --- a/services/node-agent/index.js +++ b/services/node-agent/index.js @@ -1434,7 +1434,7 @@ function serveLiveFile(pathname, res) { } // ── HTTP server ─────────────────────────────────────────────────────────── -const server = http.createServer((req, res) => { +const server = http.createServer(async (req, res) => { const { pathname } = new URL(req.url, 'http://localhost'); if (req.method === 'GET' && pathname === '/health') {