diff --git a/server/app.js b/server/app.js index fd3093c..1cf7694 100644 --- a/server/app.js +++ b/server/app.js @@ -8,6 +8,7 @@ angular.module('ffffng').factory('app', function (fs) { var clientDir = __dirname + '/../client'; + app.use(express.compress()); app.use('/', express.static(clientDir + '/')); app.get('/', function (req, res, next) { fs.readFile(clientDir + '/index.html', 'utf8', function (err, body) {