Skip to content

Commit ed4f5d4

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 517a774 commit ed4f5d4

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