We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9403ee2 + 69b9cdb commit f2ac4b6Copy full SHA for f2ac4b6
templates/express/config/express.js
@@ -29,6 +29,7 @@ module.exports = function(app) {
29
});
30
31
app.configure('production', function(){
32
+ app.use(express.compress());
33
app.use(express.favicon(path.join(config.root, 'public', 'favicon.ico')));
34
app.use(express.static(path.join(config.root, 'public')));
35
app.set('views', config.root + '/views');
0 commit comments