From 2e3f860115beba14210fe3efcb1f3fc9cea68370 Mon Sep 17 00:00:00 2001 From: Kirat Date: Fri, 10 Feb 2023 10:18:11 +0800 Subject: [PATCH] Added port env variable (#2602) --- backend/native/backend-ws/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/native/backend-ws/src/config.ts b/backend/native/backend-ws/src/config.ts index 764bb6319..c598b1c12 100644 --- a/backend/native/backend-ws/src/config.ts +++ b/backend/native/backend-ws/src/config.ts @@ -1,4 +1,4 @@ -export const PORT = 8082; +export const PORT = process.env.PORT || 8082; export const CHAT_HASURA_URL = process.env.CHAT_HASURA_URL || "http://localhost:8113/v1/graphql";