MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getBaseUrl

Function getBaseUrl

web/lib/api/client.ts:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9// ---------------------------------------------------------------------------
10
11function getBaseUrl(): string {
12 return (
13 (typeof process !== "undefined" && process.env.NEXT_PUBLIC_API_URL) ||
14 "http://localhost:3001"
15 );
16}
17
18function getApiKey(): string | undefined {
19 return typeof process !== "undefined"

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected