| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 606b0a0 commit ec7b932
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ const stderr = child.stderr.toString(); | |||
| 14 | 14 | const helpUrl = stderr.match(/For help, see: (.+)/)[1]; | |
| 15 | 15 | ||
| 16 | 16 | function check(url, cb) { | |
| 17 | - https.get(url, common.mustCall((res) => { | ||
| 17 | + https.get(url, { agent: new https.Agent() }, common.mustCall((res) => { | ||
| 18 | 18 | assert(res.statusCode >= 200 && res.statusCode < 400); | |
| 19 | 19 | ||
| 20 | 20 | if (res.statusCode >= 300) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments