From 5028864c6c326107f0a7a03808a9b27a6e52145f Mon Sep 17 00:00:00 2001 From: Gerard Clos Date: Mon, 16 Sep 2024 12:24:40 +0200 Subject: [PATCH] move workers server to 3002 --- apps/workers/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/workers/src/server.ts b/apps/workers/src/server.ts index 3a7e0b7dd..679b2fe6a 100644 --- a/apps/workers/src/server.ts +++ b/apps/workers/src/server.ts @@ -6,7 +6,7 @@ const workers = setupWorkers() console.log('Workers started') -const port = 3000 +const port = process.env.WORKERS_PORT || 3002 const server = http.createServer((req, res) => { if (req.url === '/health' && req.method === 'GET') { res.writeHead(200, { 'Content-Type': 'application/json' })