fix(next): add default hostname value to @nrwl/next:server (#11701)
Co-authored-by: 文虎 <wenhu@myweimai.com>
This commit is contained in:
parent
c616f6218c
commit
3afb6bf45a
@ -97,7 +97,7 @@ async function* runNextDevServer(
|
|||||||
conf: config,
|
conf: config,
|
||||||
port: options.port,
|
port: options.port,
|
||||||
customServer: !!options.customServerTarget,
|
customServer: !!options.customServerTarget,
|
||||||
hostname: options.hostname,
|
hostname: options.hostname || 'localhost',
|
||||||
|
|
||||||
// TOOD(jack): Remove in Nx 15
|
// TOOD(jack): Remove in Nx 15
|
||||||
path: options.customServerPath,
|
path: options.customServerPath,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user