diff --git a/packages/server/src/middleware/nuxt.js b/packages/server/src/middleware/nuxt.js index c11250c210..8fc3876766 100644 --- a/packages/server/src/middleware/nuxt.js +++ b/packages/server/src/middleware/nuxt.js @@ -70,6 +70,7 @@ export default ({ options, nuxt, renderRoute, resources }) => async function nux // Send response res.setHeader('Content-Type', 'text/html; charset=utf-8') + res.setHeader('Accept-Ranges', 'none') // #3870 res.setHeader('Content-Length', Buffer.byteLength(html)) res.end(html, 'utf8') nuxt.callHook('render:routeDone', req.url, result, context)