diff --git a/lib/index.js b/lib/index.js index c7206458d..7ca6c56d2 100644 --- a/lib/index.js +++ b/lib/index.js @@ -33,6 +33,9 @@ module.exports = function(config_hash) { })); app.use(express.bodyParser()); + // TODO: npm DO NOT support compression :( + app.use(express.compress()); + app.param('package', validate_name); app.param('filename', validate_name);