MCPcopy Index your code
hub / github.com/CapSoftware/Cap / getConfiguredServerUrl

Function getConfiguredServerUrl

apps/desktop/src/utils/auth.ts:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47async function getConfiguredServerUrl() {
48 return (
49 (await generalSettingsStore.get())?.serverUrl ?? clientEnv.VITE_SERVER_URL
50 );
51}
52
53async function shouldUseLocalServerSession() {
54 const serverUrl = await getConfiguredServerUrl();

Callers 2

createSessionRequestUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected