MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / normalizeBaseUrl

Function normalizeBaseUrl

packages/oauth/src/managed-kimi-code.ts:247–249  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

245}
246
247function normalizeBaseUrl(baseUrl: string): string {
248 return baseUrl.replace(/\/+$/, '');
249}
250
251function normalizeEndpoint(value: string): string {
252 return value.trim().replace(/\/+$/, '');

Callers 2

resolveKimiCodeLoginAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected