From ed4f5d4ba5c5de30f37a9f2b754743f6aca91b2e Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 9 Aug 2025 19:22:10 +0300 Subject: [PATCH] server.ts: remove port fallback If a user has messed up their config so much that the fallbacks in our default configuration interface don't work then we should just fail here. (cherry picked from commit 6c0967751069da56f86c26ab66f7646d9f1b73b1) --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 560cb03886..497bdc1ff5 100644 --- a/server.ts +++ b/server.ts @@ -561,7 +561,7 @@ function createHttpsServer(keys) { * Create an HTTP server with the configured port and host. */ function run() { - const port = environment.ui.port || 4000; + const port = environment.ui.port; const host = environment.ui.host; // Start up the Node server