mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-19 04:34:33 -05:00
Update server/util-server.js
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
c0db036187
commit
27bcc968ec
@ -654,7 +654,7 @@ const parseCertificateInfo = function (info) {
|
|||||||
/**
|
/**
|
||||||
* Check if certificate is valid
|
* Check if certificate is valid
|
||||||
* @param {tls.TLSSocket} socket TLSSocket, which may or may not be connected
|
* @param {tls.TLSSocket} socket TLSSocket, which may or may not be connected
|
||||||
* @returns {Object} Object containing certificate information
|
* @returns {object} Object containing certificate information
|
||||||
*/
|
*/
|
||||||
exports.checkCertificate = function (socket) {
|
exports.checkCertificate = function (socket) {
|
||||||
let certInfoStartTime = dayjs().valueOf();
|
let certInfoStartTime = dayjs().valueOf();
|
||||||
|
Loading…
Reference in New Issue
Block a user