MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / apiBaseUrl

Function apiBaseUrl

packages/cli/src/auth/client.ts:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23const DEFAULT_BASE_URL = "https://api.heygen.com";
24
25export function apiBaseUrl(): string {
26 const override = process.env["HEYGEN_API_URL"];
27 return override && override.length > 0 ? override.replace(/\/+$/, "") : DEFAULT_BASE_URL;
28}
29
30export type BillingType = "wallet" | "subscription" | "usage_based" | string;
31

Callers 3

resolveCloudBaseUrlFunction · 0.85
constructorMethod · 0.85
client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected