Skip to content

Commit

Permalink
Update packages/docusaurus/src/server/getHostPort.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Dec 7, 2023
1 parent 7cfbec4 commit 3c4918f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/docusaurus/src/server/getHostPort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,5 @@ export async function getHostPort(options: HostPortOptions): Promise<{
const host = options.host ?? 'localhost';
const basePort = options.port ? parseInt(options.port, 10) : DEFAULT_PORT;
const port = await choosePort(host, basePort);

return {host, port};
}

0 comments on commit 3c4918f

Please sign in to comment.