Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jhen0409/react-native-debugger
/ resolveHost
Function
resolveHost
electron/url-handle/handleURL.js:22–24 ·
view source on GitHub ↗
(host)
Source
from the content-addressed store, hash-verified
20
}
21
22
const
resolveHost = (host) => (
23
!host || host ===
'undefined'
|| host ===
'null'
?
'localhost'
: host
24
)
25
26
export
const
parseUrl = (_url) => {
27
const
route = url.parse(_url)
Callers
1
parseUrl
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected