Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 2, 2024
1 parent bb7e96c commit ea534b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function start(
// Process all related files as a prop.
const props = await loadSite();

const {host, port, getOpenUrl} = await creatUrlUtils({cliOptions});
const {host, port, getOpenUrl} = await createUrlUtils({cliOptions});
const openUrl = getOpenUrl({baseUrl: props.baseUrl});

logger.success`Docusaurus website is running at: url=${openUrl}`;
Expand Down Expand Up @@ -184,7 +184,7 @@ function getPathsToWatch({props}: {props: Props}): string[] {
return [...pluginsPaths, siteConfigPath, localizationDir];
}

async function creatUrlUtils({cliOptions}: {cliOptions: StartCLIOptions}) {
async function createUrlUtils({cliOptions}: {cliOptions: StartCLIOptions}) {
const protocol: string = process.env.HTTPS === 'true' ? 'https' : 'http';

const {host, port} = await getHostPort(cliOptions);
Expand Down

0 comments on commit ea534b9

Please sign in to comment.