Justin Williams
Results
3
comments of
Justin Williams
Any update to this? Tests are still failing
export default function({ res }) { return res?.setHeader('X-Hello', 'World') } `res` is not defined for when `ssr: false` is set in `nuxt.config.js` I'm presuming we have to somehow hook into...
The `serverMiddleware` property did it for me. With ssr: false, some of the middleware functions are now called on the browser instead of the server. It's not overly clear which...