Frontend configuration
Variables
Variable name | Valid values | Description |
---|---|---|
NEXT_PUBLIC_COMMERCETOOLS_DEFAULT_LOCALE | en-US | Default locale |
NEXT_PUBLIC_GRAPHQL_ENDPOINT | https://address/graphql/ | |
NEXT_PUBLIC_GRAPHQL_STORYBLOK_ENDPOINT | https://gapi.storyblok.com/v1/api | |
NEXT_PUBLIC_STORYBLOK_PREVIEW_TOKEN | <token> | |
NEXT_PUBLIC_STORYBLOK_CONTENT_VERSION | ... |
Example .env
# Example .env for demo purposesNEXT_PUBLIC_COMMERCETOOLS_DEFAULT_LOCALE = en-US
NEXT_PUBLIC_GRAPHQL_ENDPOINT = https://app-core-connect-dev-api7c906c0c.agreeableisland-5d42a642.westeurope.azurecontainerapps.io/graphql/NEXT_PUBLIC_GRAPHQL_STORYBLOK_ENDPOINT = https://gapi.storyblok.com/v1/api
NEXT_PUBLIC_STORYBLOK_PREVIEW_TOKEN = u3HriMmnXX4Vit19CcyedAttNEXT_PUBLIC_STORYBLOK_CONTENT_VERSION = draft