Skip to content

Commit

Permalink
checkServerIdentity
Browse files Browse the repository at this point in the history
  • Loading branch information
Frigyes Bartha committed Jun 30, 2020
1 parent 268eb48 commit a8470b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions carelink.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ function reqOptions(extra) {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0',
'Accept-Encoding': 'gzip,deflate,sdch',
'Accept-Language': 'en-US,en;q=0.8'
},
checkServerIdentity: function (host, cert) {
return undefined;
}
};
return _.merge(defaults, extra);
Expand Down

0 comments on commit a8470b8

Please sign in to comment.