We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c7bfb commit 0162251Copy full SHA for 0162251
packages/cli/src/services/config.ts
@@ -78,6 +78,11 @@ class ChecklyConfig {
78
}
79
80
getApiUrl (): string {
81
+ // Allow overriding the API URL via CHECKLY_BASE_URL environment variable
82
+ if (process.env.CHECKLY_BASE_URL) {
83
+ return process.env.CHECKLY_BASE_URL
84
+ }
85
+
86
const environments = {
87
local: 'http://127.0.0.1:3000',
88
development: 'https://api-dev.checklyhq.com',
0 commit comments