Static GitHub Issues

[2749] Have entire request object in 'render:route' hook

prev: Namespaced modules in vuex doesnt match the mutation name
next: HMR for nuxt modules

When using Zeit Now for hosting, we currently create a staging instance of our app, and then alias it to the production URL when we're ready to go live. We would like to use a CDN for our assets, and I looked at the AMP example here, but unfortunately this setup doesn't work, because this is host-related and not path-related.

Would it be possible to get the entire req here: https://github.com/nuxt/nuxt.js/blob/f15eb9efa736495ff657257a8911a069da21d457/lib/core/middleware/nuxt.js#L13 and if not, is there a hook further up that would help us in this situation?

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