MCPcopy
hub / github.com/CapSoftware/Cap / extensionApiPath

Function extensionApiPath

apps/chrome-extension/src/shared/api.ts:41–41  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

39const EXTENSION_API_PREFIX = `/api${EXTENSION_HTTP_PREFIX}`;
40
41const extensionApiPath = (path: string) => `${EXTENSION_API_PREFIX}${path}`;
42
43const apiUrl = (settings: ExtensionSettings, path: string) =>
44 new URL(path, settings.apiBaseUrl).toString();

Callers 6

createAuthStartFunction · 0.85
revokeAuthFunction · 0.85
fetchBootstrapFunction · 0.85
createInstantRecordingFunction · 0.85
updateUploadProgressFunction · 0.85
deleteInstantRecordingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected