diff --git a/server/notification-providers/slack.js b/server/notification-providers/slack.js index 439f5e905..702256429 100644 --- a/server/notification-providers/slack.js +++ b/server/notification-providers/slack.js @@ -48,7 +48,8 @@ class Slack extends NotificationProvider { } - if (monitorJSON.url) { + const address = this.extractAdress(monitorJSON); + if (address) { actions.push({ "type": "button", "text": { @@ -56,7 +57,7 @@ class Slack extends NotificationProvider { "text": "Visit site", }, "value": "Site", - "url": monitorJSON.url, + "url": address, }); }