From 9a54daae552cf14d8af05f6eb04ed673135b6327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 20 Jan 2026 06:16:57 +0100 Subject: [PATCH] fix: disable bullboard without unsetting the env #273 --- apps/worker/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/worker/src/index.ts b/apps/worker/src/index.ts index f0aa6f56..c7ecc22c 100644 --- a/apps/worker/src/index.ts +++ b/apps/worker/src/index.ts @@ -30,7 +30,10 @@ async function start() { const PORT = Number.parseInt(process.env.WORKER_PORT || '3000', 10); const app = express(); - if (process.env.DISABLE_BULLBOARD === undefined) { + if ( + process.env.DISABLE_BULLBOARD !== '1' && + process.env.DISABLE_BULLBOARD !== 'true' + ) { const serverAdapter = new ExpressAdapter(); serverAdapter.setBasePath('/'); createBullBoard({