MCPcopy Index your code
hub / github.com/anomalyco/opencode / getDefaultUrl

Function getDefaultUrl

packages/app/src/entry.tsx:109–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109const getDefaultUrl = () => {
110 const lsDefault = readDefaultServerUrl()
111 if (lsDefault) return lsDefault
112 return getCurrentUrl()
113}
114
115const clearAuthToken = () => {
116 const params = new URLSearchParams(location.search)

Callers 1

entry.tsxFile · 0.85

Calls 2

readDefaultServerUrlFunction · 0.85
getCurrentUrlFunction · 0.85

Tested by

no test coverage detected