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') {