We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f2e23 commit adaede5Copy full SHA for adaede5
1 file changed
src/core/dev-server/server.ts
@@ -223,10 +223,10 @@ class DevServer {
223
serveStatic(asset.dir, {
224
dotfiles: "allow",
225
setHeaders(res, path) {
226
+ // https://github.com/nitrojs/nitro/issues/3379
227
if (path.endsWith(".gz")) {
228
res.setHeader("Content-Encoding", "gzip");
229
}
- // Or expand to other encodings if needed
230
},
231
})
232
)
0 commit comments