Commit 23991ccf authored by Aurel's avatar Aurel

we must defined what content-type we accept

parent ab268eb8
......@@ -52,6 +52,7 @@
}
}
}
xhr.setRequestHeader("Accept", "*/*");
xhr.addEventListener("load", function (e) {
if (e.target.status >= 400) {
return reject(e);
......
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