From ffb21612874933195372d39d010c39aca6815249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Wed, 28 Dec 2022 21:17:56 -0500 Subject: [PATCH] chore: prioritize PORT over RELAY_PORT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo Arturo Cabral Mejía --- src/app/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/worker.ts b/src/app/worker.ts index 4b90c80..09566b2 100644 --- a/src/app/worker.ts +++ b/src/app/worker.ts @@ -19,7 +19,7 @@ export class AppWorker implements IRunnable { } public run(): void { - const port = process.env.RELAY_PORT || process.env.PORT || 8008 + const port = process.env.PORT || process.env.RELAY_PORT || 8008 this.adapter.listen(typeof port === 'number' ? port : Number(port)) }