unsupport MS Edge (for now, sorry) and some http header nits

This commit is contained in:
Danny Coates 2017-11-06 13:36:36 -08:00
parent b703f78db9
commit 2e233da16d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
5 changed files with 13 additions and 4 deletions

View file

@ -51,6 +51,11 @@ module.exports = function(app) {
}
})
);
app.use(function(req, res, next) {
res.set('Pragma', 'no-cache');
res.set('Cache-Control', 'no-cache');
next();
});
app.use(bodyParser.json());
app.get('/', pages.index);
app.get('/legal', pages.legal);