checkWebsite() reestablished certificate validation
This commit is contained in:
parent
a03054adcb
commit
d8bf91e564
@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||
| 5.24.9 | 2025-01-04 | `checkWebsite()` reestablished certificate validation |
|
||||
| 5.24.8 | 2025-01-03 | `powerShell()` detect default installation path (windows) |
|
||||
| 5.24.7 | 2025-01-03 | `system()` chassis type parsing improved (macOS) |
|
||||
| 5.24.6 | 2025-01-02 | `cpu()` clean brand string (linux) |
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.24.9</th>
|
||||
<td>2025-01-04</td>
|
||||
<td><span class="code">checkWebsite()</span> reestablished certificate validation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.24.8</th>
|
||||
<td>2025-01-03</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png" alt="logo">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
3<div class="version">New Version: <span id="version">5.24.8</span></div>
|
||||
3<div class="version">New Version: <span id="version">5.24.9</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
@ -212,7 +212,7 @@
|
||||
<div class="title">Downloads last month</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
<div class="numbers">792</div>
|
||||
<div class="numbers">793</div>
|
||||
<div class="title">Dependents</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user