-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Within sdk/index.ts, lines 54-57 declare stackDetails.apiKey and stackDetails.environment from environment variables:
stackDetails: {
apiKey: `${import.meta.env.VITE_API_KEY}`,
environment: `${import.meta.env.VITE_ENVIRONMENT}`,
},
These environment variables are not documented within env.sample.
My assumption is that these properties should in fact reference the following ENV variables:
- VITE_API_KEY -> VITE_CONTENTSTACK_API_KEY
- VITE_ENVIRONMENT -> VITE_CONTENTSTACK_ENVIRONMENT
If this is correct, the referenced ENV variables on lines 55-56 should be updated to avoid confusion.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels