MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / isLocal

Function isLocal

packages/core/src/utils/is-prod.ts:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9export function isLocal() {
10 return process.env.NODE_ENV !== 'production';
11}
12
13export function getApiUrl(prod?: boolean) {
14 if (prod) return 'https://api.langbase.com';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected