Merge remote-tracking branch 'upstream/develop' into fix/remove-double-login-protection
This commit is contained in:
commit
5ea1b15e9e
7 files changed
+33
-87
No files matched your search
@@ -77,7 +77,8 @@ const getMonitorCertificate = async (req, res, next) => {
|
||||
}
|
||||
|
||||
try {
|
||||
const monitor = await req.db.getMonitorById(req, res);
|
||||
const { monitorId } = req.params;
|
||||
const monitor = await req.db.getMonitorById(monitorId);
|
||||
const monitorUrl = new URL(monitor.url);
|
||||
const certificate = await sslChecker(monitorUrl.hostname);
|
||||
if (certificate && certificate.validTo) {
|
||||
|
||||
Reference in new issue
Block a user