js -> ts
This commit is contained in:
1 parent
b24339f232
commit
bdb07220ed
1 file changed
+1
-1
+1
-1
@@ -1,4 +1,4 @@
|
||||
const fetchMonitorCertificate = async (sslChecker, monitor) => {
|
||||
const fetchMonitorCertificate = async (sslChecker: any, monitor: any): Promise<any> => {
|
||||
const monitorUrl = new URL(monitor.url);
|
||||
const hostname = monitorUrl.hostname;
|
||||
const cert = await sslChecker(hostname);
|
||||
Reference in new issue
Block a user