From 3756d718ef3c694bc6e6d707882f4c8db96206a2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 22 Nov 2023 04:31:30 +0300 Subject: vNext: allow to override listen port from environment variable --- vnext/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnext/server/index.js b/vnext/server/index.js index 8eb86981..b4186bbf 100644 --- a/vnext/server/index.js +++ b/vnext/server/index.js @@ -10,7 +10,7 @@ import event from './middleware/event' import oembed from './middleware/oembed' import urlExpand from './middleware/urlexpand' -const PORT = 8081 +const PORT = process.env.LISTEN_PORT || 8081 import path from 'path' import { webhook, webhookPath } from './durov' -- cgit v1.2.3