We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 345cce0 commit fd733ecCopy full SHA for fd733ec
src/index.ts
@@ -27,7 +27,7 @@ import type {
27
dotenv.config()
28
29
// API configuration
30
-const API_BASE_URL = 'https://api.contentstack.io/v3'
+const API_BASE_URL = process.env.CONTENTSTACK_API_BASE_URL || 'https://api.contentstack.io/v3'
31
const API_KEY = process.env.CONTENTSTACK_API_KEY || ''
32
const MANAGEMENT_TOKEN = process.env.CONTENTSTACK_MANAGEMENT_TOKEN || ''
33
const BRANCH = process.env.CONTENTSTACK_BRANCH || ''
0 commit comments