Static GitHub Issues

[649] Access response to set cookie on server-side

prev: Window is not defined when store is activated
next: Importing file in style increases build time drasticaly

Hi

I'm trying to implement a jwt refresh mechanism but i need to set cookie. Is there a way to access response object to set server side cookies in middleware?

Thank you

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