fix(next): add default hostname value to @nrwl/next:server (#11701)

Co-authored-by: 文虎 <wenhu@myweimai.com>
This commit is contained in:
richardwong 2022-08-26 22:17:18 +08:00 committed by GitHub
parent c616f6218c
commit 3afb6bf45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ async function* runNextDevServer(
conf: config,
port: options.port,
customServer: !!options.customServerTarget,
hostname: options.hostname,
hostname: options.hostname || 'localhost',
// TOOD(jack): Remove in Nx 15
path: options.customServerPath,