nitropack-nightly 2.13.0-20251216-101826-b551976e → 2.13.0-20251216-102150-8c601a37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/index.mjs +6 -1
- package/dist/meta/index.mjs +1 -1
- package/package.json +1 -1
package/dist/core/index.mjs
CHANGED
|
@@ -2829,7 +2829,12 @@ class DevServer {
|
|
|
2829
2829
|
url,
|
|
2830
2830
|
fromNodeMiddleware(
|
|
2831
2831
|
serveStatic(asset.dir, {
|
|
2832
|
-
dotfiles: "allow"
|
|
2832
|
+
dotfiles: "allow",
|
|
2833
|
+
setHeaders(res, path) {
|
|
2834
|
+
if (path.endsWith(".gz")) {
|
|
2835
|
+
res.setHeader("Content-Encoding", "gzip");
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2833
2838
|
})
|
|
2834
2839
|
)
|
|
2835
2840
|
);
|
package/dist/meta/index.mjs
CHANGED
package/package.json
CHANGED