MCPcopy Index your code
hub / github.com/MiniMax-AI/cli / stripScheme

Function stripScheme

src/auth/setup.ts:23–25  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

21];
22
23function stripScheme(url: string): string {
24 return url.replace(/^https?:\/\//, '');
25}
26
27export async function ensureAuth(config: Config): Promise<void> {
28 if (config.apiKey || config.fileApiKey) return;

Callers 2

setup.tsFile · 0.70
pickOAuthRegionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected