Skip to content

Commit 65cd1df

Browse files
alanorthgithub-actions[bot]
authored andcommitted
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 6c09677)
1 parent 66cdc97 commit 65cd1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.ts

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

565565
// Start up the Node server

0 commit comments

Comments
 (0)