Ran
|
Files
3
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/Rob--W/cors-anywhere/commit/<a class=hub.com/Rob--W/cors-anywhere/commit/3c87a51664bc625535afcecc4e618009ff41d2ce">3c87a5166<a href="https://github.com/Rob--W/cors-anywhere/commit/3c87a51664bc625535afcecc4e618009ff41d2ce">">Support NODE_TLS_REJECT_UNAUTHORIZED=0 to ignore client errors #341 Apparently `NODE_TLS_REJECT_UNAUTHORIZED` is only effective if `rejectUnauthorized` was not overridden by the code: https://github.com/nodejs/node/blob/</a><a class="double-link" href="https://github.com/Rob--W/cors-anywhere/commit/<a class="double-link" href="https://github.com/Rob--W/cors-anywhere/commit/85e6089c4db4da23dd88358fe0a12edefcd411f2">85e6089c4</a>">85e6089c4</a><a href="https://github.com/Rob--W/cors-anywhere/commit/3c87a51664bc625535afcecc4e618009ff41d2ce">/lib/_tls_wrap.js#L1583-L1591 But the underlying library does override it: https://github.com/http-party/node-http-proxy/blob/v1.11.1/lib/http-proxy/common.js#L53-L55 Fix this by overriding the option via the library's "secure" option.
144 of 146 branches covered (98.63%)
232 of 234 relevant lines covered (99.15%)
32.0 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|