mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
🐛 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:
parent
5710e2f60e
commit
0fff91c860
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user