馃悰 [Bug] Nuxt not reading `WEBSOCKETS_URI`
Created by: Tirokk
Authored by mattwr18 Closed
馃悰 Bugreport
We need to set this up somehow otherwise, we cannot connect with ws
Steps to reproduce the behavior
- add
WEBSOCKETS_URI
to clusterconfigmap
- deploy
latest
docker image to a hosted cluster - see that it doesn't read
process.env.WEBSOCKETS_URI
, but falls back tows://localhost:4000/graphql
- Profit
Expected behavior
This env
variable should be read by the apollo
config.
One possible solution that seems to work locally is whitelist
in envWhitelist
Maybe there is a preferable way to do this?