checkWebsite() reestablished certificate validation
This commit is contained in:
+1
-1
@@ -2515,7 +2515,7 @@ function checkWebsite(url, timeout = 5000) {
|
||||
const t = Date.now();
|
||||
return new Promise((resolve) => {
|
||||
const request = http
|
||||
.get(url, { rejectUnauthorized: false }, function (res) {
|
||||
.get(url, function (res) {
|
||||
res.on('data', () => { });
|
||||
res.on('end', () => {
|
||||
resolve({
|
||||
|
||||
Reference in New Issue
Block a user