From 17c8e7e1bdfbfc2dec63e7d233b663fbdb7a2f15 Mon Sep 17 00:00:00 2001 From: henrygd Date: Sun, 27 Apr 2025 14:07:33 -0400 Subject: [PATCH] Update bark notification to use `url` param for link --- beszel/internal/alerts/alerts.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beszel/internal/alerts/alerts.go b/beszel/internal/alerts/alerts.go index 84d6bd3..b56a9f9 100644 --- a/beszel/internal/alerts/alerts.go +++ b/beszel/internal/alerts/alerts.go @@ -167,13 +167,12 @@ func (am *AlertManager) SendShoutrrrAlert(notificationUrl, title, message, link, // Add link if scheme == "ntfy" { - // if ntfy, add link to actions queryParams.Add("Actions", fmt.Sprintf("view, %s, %s", linkText, link)) } else if scheme == "lark" { - // if lark, add link query param queryParams.Add("link", link) + } else if scheme == "bark" { + queryParams.Add("url", link) } else { - // else add link directly to the message message += "\n\n" + link }