Skip to content

Commit

Permalink
Merge pull request #78 from contentstack/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
Amitkanswal authored Feb 12, 2024
2 parents e005cee + 41e9974 commit c700a87
Show file tree
Hide file tree
Showing 7 changed files with 1,357 additions and 580 deletions.
28 changes: 14 additions & 14 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@

REACT_APP_CONTENTSTACK_API_KEY=your_stack_api_key
REACT_APP_CONTENTSTACK_DELIVERY_TOKEN=your_delivery_token
REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_token
REACT_APP_CONTENTSTACK_ENVIRONMENT=your_environment_name

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

REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io
REACT_APP_CONTENTSTACK_MANAGEMENT_TOKEN= your_management_token
REACT_APP_CONTENTSTACK_PREVIEW_HOST=rest-preview.contentstack.com
REACT_APP_CONTENTSTACK_PREVIEW_TOKEN=your_live_preview_token
REACT_APP_CONTENTSTACK_APP_HOST=app.contentstack.com
REACT_APP_CONTENTSTACK_LIVE_PREVIEW= true
REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS= false
REACT_APP_CONTENTSTACK_LIVE_PREVIEW=true
REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=false


# REACT_APP_CONTENTSTACK_LIVE_PREVIEW=true by default set REACT_APP_CONTENTSTACK_LIVE_PREVIEW=false to disable live preview
# For enabling live editing tags for this project set REACT_APP_CONTENTSTACK_LIVE_EDIT_TAGS=true by default it is set to false
# For EU region add REACT_APP_CONTENTSTACK_APP_HOST=eu.app.contentstack.com
# REACT_APP_CONTENTSTACK_API_HOST= api.contentstack.io
# REACT_APP_CONTENTSTACK_REGION=eu
# REACT_APP_CONTENTSTACK_BRANCH=main

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

# By default region=us, if a region is not provided
# REACT_APP_CONTENTSTACK_REGION=<your_region_name>

SKIP_PREFLIGHT_CHECK=true
# Setting Live Preview URL's
# 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
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"rules": {
"react/prop-types":0,
"no-undef":"off",
"@typescript-eslint/no-explicit-any":"off",
"@typescript-eslint/ban-types": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Contentstack
Copyright (c) 2024 Contentstack

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

0 comments on commit c700a87

Please sign in to comment.