Skip to content

Commit

Permalink
馃悰 Fix the config for compression (#8226)
Browse files Browse the repository at this point in the history
refs #7488

- This has always been documented as top-level "compress", and yet the code references server.compress
- Should be top level
  • Loading branch information
ErisDS authored and kirrg001 committed Apr 3, 2017
1 parent 5710e2f commit 0fff91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/app.js
Expand Up @@ -36,7 +36,7 @@ module.exports = function setupParentApp() {
}

// enabled gzip compression by default
if (config.get('server').compress !== false) {
if (config.get('compress') !== false) {
parentApp.use(compress());
}

Expand Down

0 comments on commit 0fff91c

Please sign in to comment.