Add checks for XHR redirects #101

Merged
BehindTheMath merged 2 commits from feature/detect-redirects into master 2018-01-10 15:45:56 -05:00
Showing only changes of commit c04f2dd03b - Show all commits

View File

@@ -15,7 +15,7 @@ module.exports = function(location, options, callback) {
}
}
request.onerror = function (e) {
request.onerror = function(e) {
console.log(e)
callback(null, request)
}