Originally posted by **juanmanuelcarrera** February 7, 2023
If I use environment variables such as process.env.API_GRAPHQL_URL to set the client's httpEndpoint value, these variables have to be defined at build time. If I don't define them at build time and I do it at runtime, the client doesn't take the value of the environment variable.
Any ideas?
Thanks.
Discussed in https://github.com/nuxt-modules/apollo/discussions/475