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 6c09677510)
This commit is contained in:
Alan Orth
2025-08-09 19:22:10 +03:00
committed by github-actions[bot]
parent 517a774bf4
commit ed4f5d4ba5

View File

@@ -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