🐛 Fix the config for compression (#8226)

refs #7488

- This has always been documented as top-level "compress", and yet the code references server.compress
- Should be top level
This commit is contained in:
Hannah Wolfe 2017-04-03 09:58:07 +01:00 committed by Katharina Irrgang
parent 5710e2f60e
commit 0fff91c860

View File

@ -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());
}