usb248

Results 44 comments of usb248

It doesn't work in nuxt 2.4.5 too. On first load, no scroll behavior too.

@rchl yes i know, but strangely res.getHeader('Set-Cookie') is always undefined even if i see double set-cookie in nuxt response in my browser to render the view and i don't understand...

a solution : https://github.com/nuxt-community/express-template/blob/master/protected-ssr-api.md#create-middlewaressr-cookiejs ?

@SebastiaanYN : `const cookies = parse($axios.defaults.headers.common.cookie);` you do anything with `cookies` variable. What's the point ? > to not proxy cookies such as x-powered-by, x-ratelimit-limit, x-ratelimit-remaining It's not cookies ....

Your code manage signed cookies too ? @SebastiaanYN

Something seems to be wrong... i get duplicate set-cookie headers : ![image](https://user-images.githubusercontent.com/7659927/80915135-718a2380-8d50-11ea-8caf-78c463c0505e.png) :/

@SebastiaanYN `res.getHeader('Set-Cookie')` return `undefined` in my code (even when duplicate headers) ... not a string neither string[]

yes... i don't know why too. maybe @pi0 ? duplicate headers occurs on first call (when there is no session cookie) on a route which has an axios SSR request....

The same ... :/, even if in `async nuxtServerInit ({ commit, dispatch }, { req, res }) {` unable to get any header...