Skip to content

Commit c13cb28

Browse files
authored
Merge pull request #80 from contentstack/fix/ECO-3414-env-config
Fix/eco 3414 env config
2 parents ad94e0e + 1cfc50d commit c13cb28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

next.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ const config = {
1515
process.env.CONTENTSTACK_API_HOST || 'api.contentstack.io',
1616
CONTENTSTACK_APP_HOST:
1717
process.env.CONTENTSTACK_APP_HOST || 'app.contentstack.com',
18-
NEXT_PUBLIC_CONTENTSTACK_API_KEY: process.env.CONTENTSTACK_API_KEY,
1918
CONTENTSTACK_LIVE_PREVIEW:
20-
process.env.NEXT_PUBLIC_CONTENTSTACK_LIVE_PREVIEW || 'true',
19+
process.env.CONTENTSTACK_LIVE_PREVIEW || 'true',
2120
CONTENTSTACK_LIVE_EDIT_TAGS:
2221
process.env.CONTENTSTACK_LIVE_EDIT_TAGS || 'false',
2322
},

0 commit comments

Comments
 (0)