Update server/util-server.js

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Louis Lam 2024-04-25 23:45:30 +08:00 committed by GitHub
parent c0db036187
commit 27bcc968ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -654,7 +654,7 @@ const parseCertificateInfo = function (info) {
/**
* Check if certificate is valid
* @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) {
let certInfoStartTime = dayjs().valueOf();