File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const Stack = contentstack.Stack({
1414 ? envConfig . CONTENTSTACK_API_KEY
1515 : envConfig . NEXT_PUBLIC_CONTENTSTACK_API_KEY ,
1616 delivery_token : envConfig . CONTENTSTACK_DELIVERY_TOKEN ,
17+ branch : envConfig . CONTENTSTACK_BRANCH ? envConfig . CONTENTSTACK_BRANCH : 'main' ,
1718 environment : envConfig . CONTENTSTACK_ENVIRONMENT ,
1819 region : envConfig . CONTENTSTACK_REGION ? envConfig . CONTENTSTACK_REGION : 'us' ,
1920 live_preview : {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const config = {
77 // Will be available on both server and client
88 CONTENTSTACK_API_KEY : process . env . CONTENTSTACK_API_KEY ,
99 CONTENTSTACK_DELIVERY_TOKEN : process . env . CONTENTSTACK_DELIVERY_TOKEN ,
10+ CONTENTSTACK_BRANCH : process . env . CONTENTSTACK_BRANCH || 'main' ,
1011 CONTENTSTACK_ENVIRONMENT : process . env . CONTENTSTACK_ENVIRONMENT ,
1112 CONTENTSTACK_MANAGEMENT_TOKEN : process . env . CONTENTSTACK_MANAGEMENT_TOKEN ,
1213 CONTENTSTACK_API_HOST :
You can’t perform that action at this time.
0 commit comments