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

Function formatServiceUrl

apps/kimi-code/src/cli/sub/server/lifecycle.ts:252–254  ·  view source on GitHub ↗
(host: string, port: number)

Source from the content-addressed store, hash-verified

250}
251
252function formatServiceUrl(host: string, port: number): string {
253 return serverOrigin(host === '0.0.0.0' ? LOCAL_SERVER_HOST : host, port);
254}

Callers 1

withStatusDetailsFunction · 0.85

Calls 1

serverOriginFunction · 0.90

Tested by

no test coverage detected