From 9a2ae7e09a1ed078328f4f3dbd43d03bebacd7be Mon Sep 17 00:00:00 2001 From: Krishav Raj Singh Date: Wed, 8 Oct 2025 15:33:26 +0530 Subject: [PATCH] fix: check healthy when init --- backend/core/sandbox/docker/browserApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/sandbox/docker/browserApi.ts b/backend/core/sandbox/docker/browserApi.ts index c4eb6093..0a1970c1 100644 --- a/backend/core/sandbox/docker/browserApi.ts +++ b/backend/core/sandbox/docker/browserApi.ts @@ -419,7 +419,7 @@ app.post('/api/init', async (req, res) => { const {api_key} = req.body; const result = await browserAutomation.init(api_key); - if (result.status === "initialized") { + if (result.status === "initialized" || result.status === "healthy") { res.status(200).json({ "status": "healthy", "service": "browserApi"