We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1faf7 commit 53baad4Copy full SHA for 53baad4
src/ajax.js
@@ -19,6 +19,7 @@ module.exports = function (url, options) {
19
request.open('GET', url);
20
if (options.headers) {
21
Object.keys(options.headers).forEach(function (key) {
22
+ request.withCredentials = true;
23
request.setRequestHeader(key, options.headers[key]);
24
});
25
}
0 commit comments