I am about updating NEXT.XP from version1 to version2 .
I noticed that the Environment variable changed a bit. It seems that this breaks my implementation as I use GraphQL embedded and provide my API as service on the following endpoints:
# Absolute URL to Content API
CONTENT_API_DRAFT=http://localhost:8080/site/default/draft/osde/_graphql
CONTENT_API_MASTER=http://localhost:8080/site/default/master/osde/_graphql
The provided sample application uses the Guillotine App with an endpoint which would look in my case like http://localhost:8080/site/osde/master
The config in .env looks now
# Enonic app name, used for convenience in queries and mappings
ENONIC_APP_NAME=de.osde.app.be
# Absolute URL to Content API
ENONIC_API=http://127.0.0.1:8080/site/
# ENONIC_API=http://localhost:8080/site/default/draft/osde/_graphql
# Enonic XP projects configuration for different locales
ENONIC_PROJECTS=osde/osde
How must I configure my Next.XP frontend to use an embedded GraphQL -endpoint?