MCPcopy Create free account
hub / github.com/anomalyco/opencode / writeDefaultServerUrl

Function writeDefaultServerUrl

packages/app/src/entry.tsx:55–55  ·  view source on GitHub ↗
(url: string | null)

Source from the content-addressed store, hash-verified

53
54const readDefaultServerUrl = () => getStorage(DEFAULT_SERVER_URL_KEY)
55const writeDefaultServerUrl = (url: string | null) => setStorage(DEFAULT_SERVER_URL_KEY, url)
56
57const notify: Platform["notify"] = async (title, description, href) => {
58 if (!("Notification" in window)) return

Callers

nothing calls this directly

Calls 1

setStorageFunction · 0.85

Tested by

no test coverage detected