Skip to content

fix(nuxt-env): Configuration issue with websockets

Hannes Heine requested to merge pr3089head into pr3089base

Created by: Tirokk

roschaefer Authored by roschaefer Merged


After some intensive debugging I found out that req (on the server) and nuxtState (on the client) have access to the configurations changed at runtime.

How did I debug it:

yarn run build
env WEBSOCKET_URI=whatever yarn run start

I also put a console.log into plugins/apollo-client.js.

🍰 Pullrequest

Issues

Todo

  • None

Merge request reports