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
It does work on production as there is a default value. But this default value is not overwritten by my server's env var.
The docker-compose.yml I use has these env's:
But it still uses https://directus-mijn.controlenergy.nl/graphql/system instead of https://test.directus-mijn.controlenergy.nl/graphql/system for example....
Environment
Production
Describe the bug
When I set my clients like this:
And have the following env vars in my
.env
file:It works great on localhost.
However, when I deploy to production, the GQL client is not defined as the .env vars are not read somehow.
If I do this:
It does work on production as there is a default value. But this default value is not overwritten by my server's env var.
The
docker-compose.yml
I use has these env's:But it still uses
https://directus-mijn.controlenergy.nl/graphql/system
instead ofhttps://test.directus-mijn.controlenergy.nl/graphql/system
for example....@Diizzayy why is this?
Expected behaviour
See above
Reproduction
No response
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: