From ace57d8ee7e8a0f5f23f61a49f4d0afb6fa30b14 Mon Sep 17 00:00:00 2001 From: Rohit Rajan Date: Sun, 30 Nov 2025 22:21:36 +0530 Subject: [PATCH] fix: wss endpoint --- browser/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/server.ts b/browser/server.ts index 8ee6ca6a..e12cd79a 100644 --- a/browser/server.ts +++ b/browser/server.ts @@ -45,7 +45,7 @@ async function start(): Promise { // Health check HTTP server const healthServer = http.createServer((req, res) => { if (req.url === '/health') { - const wsEndpoint = browserServer?.wsEndpoint(); + const wsEndpoint = browserServer?.wsEndpoint().replace('localhost', BROWSER_WS_HOST) || ''; res.writeHead(200, { 'Content-Type': 'application/json' }); res.end(JSON.stringify({ status: 'healthy',