From 0fff91c8609d5efd76f1553f058bf48c66e37498 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Mon, 3 Apr 2017 09:58:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20the=20config=20for=20compr?= =?UTF-8?q?ession=20(#8226)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #7488 - This has always been documented as top-level "compress", and yet the code references server.compress - Should be top level --- core/server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/app.js b/core/server/app.js index 1a38e018ae10..f40d43f39aa9 100644 --- a/core/server/app.js +++ b/core/server/app.js @@ -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()); }