MCPcopy Create free account
hub / github.com/CapSoftware/Cap / trimBaseUrl

Function trimBaseUrl

apps/mobile/src/api/mobile.ts:67–67  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

65}
66
67const trimBaseUrl = (baseUrl: string) => baseUrl.replace(/\/+$/, "");
68
69const decode = async <A, I>(
70 schema: Schema.Schema<A, I, never>,

Callers 2

createSessionRequestUrlFunction · 0.85
createMobileApiClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected