MCPcopy
hub / github.com/anomalyco/opencode / getDefaultServerUrl

Function getDefaultServerUrl

packages/desktop/src/main/server.ts:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30export function getDefaultServerUrl(): string | null {
31 const value = getStore().get(DEFAULT_SERVER_URL_KEY)
32 return typeof value === "string" ? value : null
33}
34
35export function setDefaultServerUrl(url: string | null) {
36 if (url) {

Callers 1

index.tsFile · 0.90

Calls 2

getStoreFunction · 0.90
getMethod · 0.65

Tested by

no test coverage detected