mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-11 14:20:07 +08:00
chore(cli): Fix to read port from options commandLineOptions.
This commit is contained in:
parent
295faba2bf
commit
db2338dc34
@ -27,7 +27,7 @@ async function runDevServer({ context }) {
|
||||
env: {
|
||||
...process.env,
|
||||
LOWDEFY_DIRECTORY_CONFIG: context.directories.config,
|
||||
PORT: context.commandLineOptions.port,
|
||||
PORT: context.options.port,
|
||||
},
|
||||
},
|
||||
silent: false,
|
||||
|
@ -27,7 +27,7 @@ async function runStart({ context }) {
|
||||
env: {
|
||||
...process.env,
|
||||
LOWDEFY_DIRECTORY_CONFIG: context.directories.config,
|
||||
PORT: context.commandLineOptions.port,
|
||||
PORT: context.options.port,
|
||||
},
|
||||
},
|
||||
silent: false,
|
||||
|
Loading…
Reference in New Issue
Block a user