Skip to content

Commit

Permalink
Trying to solve ERR_TLS_CERT_ALTNAME_INVALID error
Browse files Browse the repository at this point in the history
  • Loading branch information
Frigyes Bartha committed Jun 30, 2020
1 parent a3e5bf3 commit a895c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carelink.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ function reqOptions(extra) {
var defaults = {
jar: true,
followRedirect: false,
rejectUnauthorized: false,
//rejectUnauthorized: false,
changeOrigin: true,
headers: {
Host: carelinkServerAddress,
//Host: carelinkServerAddress,
Connection: 'keep-alive',
Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0',
Expand Down

0 comments on commit a895c16

Please sign in to comment.