You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed the notification message for certificate expiry to use parenthesis for the link instead of the current square bracket to correctly mask the link in markdown-supported notification agents
Copy file name to clipboardExpand all lines: server/model/monitor.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1434,7 +1434,7 @@ class Monitor extends BeanModel {
1434
1434
for(letnotificationofnotificationList){
1435
1435
try{
1436
1436
log.debug("monitor","Sending to "+notification.name);
1437
-
awaitNotification.send(JSON.parse(notification.config),`[${this.name}][${this.url}]${certType} certificate ${certCN} will be expired in ${daysRemaining} days`);
1437
+
awaitNotification.send(JSON.parse(notification.config),`[${this.name}](${this.url})${certType} certificate ${certCN} will be expired in ${daysRemaining} days`);
1438
1438
sent=true;
1439
1439
}catch(e){
1440
1440
log.error("monitor","Cannot send cert notification to "+notification.name);
0 commit comments