mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-14 16:27:13 +00:00
Send an X-UA-Compatible header for IE
This commit is contained in:
parent
5da6aefe65
commit
f80b6b465f
2 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
"collaborative",
|
||||
"whiteboard"
|
||||
],
|
||||
"version": "1.0.0-13",
|
||||
"version": "1.0.0-14",
|
||||
"dependencies": {
|
||||
"node-static": "0.7.x",
|
||||
"socket.io": "0.9.x"
|
||||
|
|
|
@ -24,7 +24,10 @@ var PORT = 8080;
|
|||
app.listen(PORT);
|
||||
console.log("Server listening on "+PORT);
|
||||
|
||||
var fileserver = new nodestatic.Server(WEBROOT);
|
||||
var fileserver = new nodestatic.Server(WEBROOT,
|
||||
{
|
||||
"headers" : {"X-UA-Compatible": "IE=Edge"}
|
||||
});
|
||||
|
||||
function serveError(request, response, err) {
|
||||
console.warn("Error serving '"+request.url+"' : "+err.status+" "+err.message);
|
||||
|
|
Loading…
Reference in a new issue