MCPcopy Index your code
hub / github.com/react/create-react-app / prettyPrintUrl

Function prettyPrintUrl

packages/react-dev-utils/WebpackDevServerUtils.js:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 pathname,
31 });
32 const prettyPrintUrl = hostname =>
33 url.format({
34 protocol,
35 hostname,
36 port: chalk.bold(port),
37 pathname,
38 });
39
40 const isUnspecifiedHost = host === '0.0.0.0' || host === '::';
41 let prettyHost, lanUrlForConfig, lanUrlForTerminal;

Callers 1

prepareUrlsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected