diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-01-29 15:09:26 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-01-29 15:09:26 +0100 |
commit | 16f431f3a839a499cfeee070c97eef189c06f49c (patch) | |
tree | 5cd19ca45ed83e0016d2e46f33f572e50641a11b /app.js | |
parent | c3286dbef4648668979e04cc918e333dbdf1fb15 (diff) | |
parent | efcdf058485272102c9c0c75e3b7a4cec9f9e6db (diff) |
Merge branch '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') |