Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/simstudioai/sim
/ safeParseUrl
Function
safeParseUrl
apps/sim/lib/copilot/request/go/fetch.ts:106–112 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
104
}
105
106
function
safeParseUrl(url: string): URL | null {
107
try {
108
return
new
URL(url)
109
} catch {
110
return
null
111
}
112
}
Callers
1
fetchGo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected