Skip to content

Commit 04f00b0

Browse files
authored
Merge pull request #77 from contentstack/fix/updated-env
fix:update env sample
2 parents 265baf7 + f9ae0c8 commit 04f00b0

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.env.example

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
REACT_APP_CONTENTSTACK_API_KEY=your_stack_api_key
66
REACT_APP_CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token
7-
REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_token
7+
REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_name
88

99
# Below config options are for enabling live preview/live edit tags for the starter app
1010

11-
REACT_APP_CONTENTSTACK_PREVIEW_HOST= rest-preview.contentstack.com
12-
REACT_APP_CONTENTSTACK_PREVIEW_TOKEN= your_live_preview_token
11+
REACT_APP_CONTENTSTACK_PREVIEW_HOST=rest-preview.contentstack.com
12+
REACT_APP_CONTENTSTACK_PREVIEW_TOKEN=your_live_preview_token
1313
REACT_APP_CONTENTSTACK_APP_HOST=app.contentstack.com
14-
REACT_APP_CONTENTSTACK_LIVE_PREVIEW= true
15-
REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS= false
14+
REACT_APP_CONTENTSTACK_LIVE_PREVIEW=true
15+
REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=false
1616

1717

18-
# REACT_APP_CONTENTSTACK_API_HOST=api.contentstack.com
18+
# REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io
1919
# REACT_APP_CONTENTSTACK_REGION=eu
2020
# REACT_APP_CONTENTSTACK_BRANCH=main
2121

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@contentstack/utils": "^1.3.1",
1010
"@textea/json-viewer": "^3.3.0",
1111
"@types/react": "^18.2.48",
12-
"contentstack": "github:Deepak-Kharah/contentstack-javascript#VC-311-changes-for-rest-preview-service",
12+
"contentstack": "github:contentstack/contentstack-javascript#fix/CS-43301-merge-live-preview",
1313
"html-react-parser": "^3.0.16",
1414
"moment": "^2.30.1",
1515
"nth-check": "^2.1.1",

0 commit comments

Comments
 (0)