Static GitHub Issues

[2800] serverMiddleware - cannot access env property

prev: ssr server innerhtml dehydration ?
next: Safari problem because of whatwg-url

Hi!

In the pages I can access nuxt env property with process.env.var_name But it doesn't work in serverMiddleware.

process.env.var_name returns undefined in serverMiddleware.

Thanks for any hints,

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2429">#c2429</a>)</em></sub></div>