checkWebsite() reestablished certificate validation

This commit is contained in:
Sebastian Hildebrandt
2025-01-04 11:08:49 +01:00
parent a03054adcb
commit d8bf91e564
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -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({