Compare commits

...
Author SHA1 Message Date
Igor Tceglevskii 330d0e94f2 move staging to core-api-internal 2025-10-21 18:10:21 -07:00
Igor Tceglevskii beab61e9e3 environment override 2025-10-12 12:22:17 -07:00
+6 -1
View File
@@ -19,6 +19,11 @@ export interface EnvironmentConfig {
}
function getClineEnv(): Environment {
const _override = process?.env?.CLINE_ENVIRONMENT_OVERRIDE
if (_override && Object.values(Environment).includes(_override as Environment)) {
return _override as Environment
}
const _env = process?.env?.CLINE_ENVIRONMENT
if (_env && Object.values(Environment).includes(_env as Environment)) {
return _env as Environment
@@ -32,7 +37,7 @@ function getEnvironmentConfig(env: Environment): EnvironmentConfig {
case Environment.staging:
return {
appBaseUrl: "https://staging-app.cline.bot",
apiBaseUrl: "https://core-api.staging.int.cline.bot",
apiBaseUrl: "https://core-api-internal.staging.cline.bot",
mcpBaseUrl: "https://api.cline.bot/v1/mcp",
firebase: {
apiKey: "AIzaSyASSwkwX1kSO8vddjZkE5N19QU9cVQ0CIk",