Permalink
Browse files

react-native crash fix

  • Loading branch information...
iyegoroff committed Jun 21, 2017
1 parent 9e1b0f6 commit a21ab072325569cc94b3fad95724d90eb5db42d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/transport/browser/abstract-xhr.js
@@ -72,7 +72,7 @@ AbstractXHRObject.prototype._start = function(method, url, payload, opts) {
// Mozilla docs says https://developer.mozilla.org/en/XMLHttpRequest :
// "This never affects same-site requests."
this.xhr.withCredentials = 'true';
this.xhr.withCredentials = true;
}
if (opts && opts.headers) {
for (var key in opts.headers) {

0 comments on commit a21ab07

Please sign in to comment.