This commit is contained in:
John McLear 2015-04-24 14:17:49 +01:00
parent a6a8c4d909
commit 254edffa9c
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ exports.restartServer = function () {
res.header("Strict-Transport-Security", "max-age=31536000; includeSubDomains"); res.header("Strict-Transport-Security", "max-age=31536000; includeSubDomains");
} }
// Stop IE going into compatability mode
// https://github.com/ether/etherpad-lite/issues/2547
res.header("X-UA-Compatible", "IE=Edge,chrome=1");
res.header("Server", serverName); res.header("Server", serverName);
next(); next();
}); });