Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/react/create-react-app
/ formatUrl
Function
formatUrl
packages/react-dev-utils/WebpackDevServerUtils.js:25–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
24
function
prepareUrls(protocol, host, port, pathname =
'/'
) {
25
const
formatUrl = hostname =>
26
url.format({
27
protocol,
28
hostname,
29
port,
30
pathname,
31
});
32
const
prettyPrintUrl = hostname =>
33
url.format({
34
protocol,
Callers
1
prepareUrls
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected