Skip to content

Commit 6c09677

Browse files
committed
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.
1 parent f622d58 commit 6c09677

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ function createHttpsServer(keys) {
561561
* Create an HTTP server with the configured port and host.
562562
*/
563563
function run() {
564-
const port = environment.ui.port || 4000;
564+
const port = environment.ui.port;
565565
const host = environment.ui.host;
566566

567567
// Start up the Node server

0 commit comments

Comments
 (0)