You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@larserhardsen Thanks for reporting, I've added this to our backlog for further investigation. You are correct, we lost previous dynamic aspects of the config graphQLEndpoint prop.
Description
In previous versions before adding the new multisite functionality, it was enough to provide the SITECORE_API_HOST and SITECORE_API_KEY environment variables, and with multisite enabled, the GRAPH_QL_ENDPOINT variable must be filled in, according to the file here:
https://github.com/Sitecore/jss/blob/dev/packages/create-sitecore-jss/src/templates/nextjs-multisite/scripts/config/plugins/multisite.ts
If omitted, the build fails, as the config.graphQLEndpoint is only containing a path.
Expected behavior
It should be enough to provide SITECORE_API_HOST and SITECORE_API_KEY
The text was updated successfully, but these errors were encountered: