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

Function normalizeEndpoint

packages/oauth/src/managed-kimi-code.ts:251–253  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

249}
250
251function normalizeEndpoint(value: string): string {
252 return value.trim().replace(/\/+$/, '');
253}
254
255function persistedOAuthHost(options: {
256 readonly key: string;

Callers 3

persistedOAuthHostFunction · 0.70
resolveKimiCodeOAuthKeyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected