Commit c15b6a96 authored by Ray Schamp's avatar Ray Schamp

Remove headers entirely to avoid XDR error

Even "no headers" is seen as setting headers to IE.
parent 7c0363e9
......@@ -30,7 +30,7 @@ var Api = {
// For IE < 10, we must use XDR for cross-domain requests. XDR does not support
// custom headers.
defaults(opts, {useXDR: true});
opts.headers = {};
delete opts.headers;
}
xhr(opts, function (err, res, body) {
if (err) log.error(err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment