diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-01-11 12:33:04 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-01-11 12:33:04 +0100 |
commit | 659ebdaa3cad319621a5bbd4fe9c009ceed2eb27 (patch) | |
tree | 95f4eb4dc5b4333a492cc3233174f86287b6708c /app.js | |
parent | b64a31f1a31469e411945ce4f500fc11797c3406 (diff) | |
parent | 478352e5e7c449bbac5d969623ebd291223256d8 (diff) |
Merge branch 'beta' of github.com:nloomans/rooster-mml into beta
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ const path = require('path') const logger = require('morgan') const cookieParser = require('cookie-parser') const bodyParser = require('body-parser') +const compression = require('compression') const routes = require('./routes/index') const meetingpointProxy = require('./routes/meetingpointProxy') @@ -10,6 +11,8 @@ const hello = require('./routes/hello') const app = express() +app.use(compression()) + // view engine setup app.set('views', path.join(__dirname, 'views')) app.set('view engine', 'jade') |