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 1a30c21 commit 18704b6Copy full SHA for 18704b6
1 file changed
lib/Server.js
@@ -1967,7 +1967,7 @@ class Server {
1967
}
1968
1969
// compress is placed last and uses unshift so that it will be the first middleware used
1970
- if (this.options.compress && !isHTTP2) {
+ if (this.options.compress) {
1971
const compression = require("compression");
1972
1973
middlewares.push({ name: "compression", middleware: compression() });
0 commit comments