From 66cdc972d2bc2d20c12e24930a5a3381fdd0f891 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 9 Aug 2025 19:16:02 +0300 Subject: [PATCH] server.ts: remove invalid host fallback If `environment.ui.host` is Falsy, then we attempt to fall back to a host value of '/', which is invalid. I think that, if a user has messed up their config so much that defaults in our configuration interface don't work, then we should actually fail here. (cherry picked from commit f622d58917dbf7a19df301e0ee6dfbcc76736353) --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 1aee5dc657..9713e5ffdb 100644 --- a/server.ts +++ b/server.ts @@ -560,7 +560,7 @@ function createHttpsServer(keys) { */ function run() { const port = environment.ui.port || 4000; - const host = environment.ui.host || '/'; + const host = environment.ui.host; // Start up the Node server const server = app();