We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a4da54 commit c4c2605Copy full SHA for c4c2605
packages/server/src/cli.ts
@@ -25,7 +25,7 @@ commander.version(process.env.VERSION || "development")
25
.option("--data-dir <value>", "DEPRECATED: Use '--user-data-dir' instead. Customize where user-data is stored.")
26
.option("-h, --host <value>", "Customize the hostname.", "0.0.0.0")
27
.option("-o, --open", "Open in the browser on startup.", false)
28
- .option("-p, --port <number>", "Port to bind on.", 8443)
+ .option("-p, --port <number>", "Port to bind on.", parseInt(process.env.PORT, 10) || 8443)
29
.option("-N, --no-auth", "Start without requiring authentication.", undefined)
30
.option("-H, --allow-http", "Allow http connections.", false)
31
.option("-P, --password <value>", "Specify a password for authentication.")
0 commit comments