fix(web): next server pass custom hostname to startup port check (#18123)

This commit is contained in:
Adam Tavener 2023-08-01 13:52:19 +01:00 committed by GitHub
parent b8a6621e29
commit 48deaec60f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ export default async function* serveExecutor(
process.on('SIGTERM', () => killServer());
process.on('SIGHUP', () => killServer());
await waitForPortOpen(port);
await waitForPortOpen(port, { host: options.hostname });
next({
success: true,