Skip to content

Commit

Permalink
IE8 Support: edge response header
Browse files Browse the repository at this point in the history
  • Loading branch information
ediblecode committed Sep 20, 2016
1 parent 2a240a4 commit 0168e75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ require("./nunjucks/source-extension")(env);

app.use(compression());

app.use(function(req, res, next) {
res.header("X-UA-Compatible", "IE=edge");
next();
});

app.use(function (req, res, next) {
res.locals.req = req;
next();
Expand Down

0 comments on commit 0168e75

Please sign in to comment.