Skip to content

Commit 716bc92

Browse files
authored
chore:updated env sample
1 parent ab10262 commit 716bc92

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

.env.local.sample

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,29 @@
33

44
# Contentstack is the tool we use to manage our website's content.
55
# You need to replace 'your_stack_api_key', 'your_delivery_token', and 'your_environment_name' with the actual information.
6-
REACT_APP_CONTENTSTACK_API_KEY=your_stack_api_key
7-
REACT_APP_CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token
8-
REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_name
6+
CONTENTSTACK_API_KEY=your_stack_api_key
7+
CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token
8+
CONTENTSTACK_ENVIRONMENT=your_environment_name
99

1010
# Live Preview lets us see changes before they are shown on the website.
1111
# Replace 'your_live_preview_token' with the actual information.
12-
REACT_APP_CONTENTSTACK_PREVIEW_HOST=rest-preview.contentstack.com
13-
REACT_APP_CONTENTSTACK_PREVIEW_TOKEN=your_live_preview_token
14-
REACT_APP_CONTENTSTACK_APP_HOST=app.contentstack.com
15-
REACT_APP_CONTENTSTACK_LIVE_PREVIEW=true
16-
REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=false
12+
CONTENTSTACK_PREVIEW_HOST=rest-preview.contentstack.com
13+
CONTENTSTACK_PREVIEW_TOKEN=your_live_preview_token
14+
CONTENTSTACK_APP_HOST=app.contentstack.com
15+
CONTENTSTACK_LIVE_PREVIEW=true
16+
CONTENTSTACK_LIVE_EDIT_TAGS=false
1717

1818
# These are extra settings. You can remove the '#' at the start of the line and fill these if needed.
19-
# REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io
20-
# REACT_APP_CONTENTSTACK_REGION=us
21-
# REACT_APP_CONTENTSTACK_BRANCH=main
19+
# CONTENTSTACK_API_HOST= api.contentstack.io
20+
# CONTENTSTACK_REGION=us
21+
# CONTENTSTACK_BRANCH=main
22+
23+
#site-map
24+
NEXT_PUBLIC_HOSTED_URL=http://localhost:3000
2225

2326
# Notes:
24-
# - REACT_APP_CONTENTSTACK_API_HOST: This is for setting a custom address for the Contentstack tool.
25-
# - REACT_APP_CONTENTSTACK_REGION: This is for setting a custom region for the Contentstack tool (default is 'us').
26-
# - REACT_APP_CONTENTSTACK_BRANCH: This is for setting a custom branch for the Contentstack tool (default is 'main').
27-
# - REACT_APP_CONTENTSTACK_PREVIEW_HOST: If you're in the EU just append "eu-" to "rest-preview.contentstack.com"
27+
# - CONTENTSTACK_API_HOST: This is for setting a custom address for the Contentstack tool.
28+
# - CONTENTSTACK_REGION: This is for setting a custom region for the Contentstack tool (default is 'us').
29+
# - CONTENTSTACK_BRANCH: This is for setting a custom branch for the Contentstack tool (default is 'main').
30+
# - CONTENTSTACK_PREVIEW_HOST: If you're in the EU just append "eu-" to "rest-preview.contentstack.com"
2831
# - example eu-rest-preview.contentstack.com

0 commit comments

Comments
 (0)