Static GitHub Issues

[1464] global.__VUE_SSR_CONTEXT__ is now undefined

prev: An old question 'fs' 'net' cant reslove how config in nuxt.config
next: Why the Custom Loading Component may not work?[re-open]

I used to get cookies for API requests (both on server and client) with process.browser ? document.cookie : global.__VUE_SSR_CONTEXT__.req.headers.cookie

But now, after updating, it doesn't work. Console logging shows that global.__VUE_SSR_CONTEXT__ (and just __VUE_SSR_CONTEXT__) is undefined. I'm using the latest versions of all (nuxt@1.0.0-rc6,vue@2.4.2,vue-server-renderer@2.4.2).

<!--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/c1302">#c1302</a>)</em></sub></div>