Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
const
trimBaseUrl = (baseUrl: string) => baseUrl.replace(/\/+$/,
""
);
68
69
const
decode =
async
<A, I>(
70
schema: Schema.Schema<A, I, never>,
Callers
2
createSessionRequestUrl
Function · 0.85
createMobileApiClient
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected