diff --git a/carelink.js b/carelink.js index 7fa0367..8d49543 100644 --- a/carelink.js +++ b/carelink.js @@ -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',