Skip to content

Commit c700a87

Browse files
authored
Merge pull request #78 from contentstack/staging
Staging
2 parents e005cee + 41e9974 commit c700a87

File tree

7 files changed

+1357
-580
lines changed

7 files changed

+1357
-580
lines changed

.env.example

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
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_API_HOST= api.contentstack.io
12-
REACT_APP_CONTENTSTACK_MANAGEMENT_TOKEN= your_management_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_LIVE_PREVIEW=true by default set REACT_APP_CONTENTSTACK_LIVE_PREVIEW=false to disable live preview
19-
# For enabling live editing tags for this project set REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=true by default it is set to false
20-
# For EU region add REACT_APP_CONTENTSTACK_APP_HOST=eu.app.contentstack.com
18+
# REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io
19+
# REACT_APP_CONTENTSTACK_REGION=eu
20+
# REACT_APP_CONTENTSTACK_BRANCH=main
2121

22-
# By default branch=main, if a branch is not provided
23-
# REACT_APP_CONTENTSTACK_BRANCH=<your_branch_name>
22+
### NOTE:
23+
# REACT_APP_CONTENTSTACK_API_HOST- For setting custom api host for contentstack sdk
24+
# REACT_APP_CONTENTSTACK_REGION- For setting custom region for contentstack sdk default is us
25+
# REACT_APP_CONTENTSTACK_BRANCH- For setting custom branch for contentstack sdk default is main
2426

25-
# By default region=us, if a region is not provided
26-
# REACT_APP_CONTENTSTACK_REGION=<your_region_name>
27-
28-
SKIP_PREFLIGHT_CHECK=true
27+
# Setting Live Preview URL's
28+
# REACT_APP_CONTENTSTACK_PREVIEW_HOST- For eu region use eu-rest-preview.contentstack.com/azure-na-rest-preview.contentstack.com/azure-eu-rest-preview.contentstack.com

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"rules": {
2323
"react/prop-types":0,
2424
"no-undef":"off",
25+
"@typescript-eslint/no-explicit-any":"off",
2526
"@typescript-eslint/ban-types": [
2627
"error",
2728
{

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Contentstack
3+
Copyright (c) 2024 Contentstack
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)