diff --git a/beszel/internal/alerts/alerts_status.go b/beszel/internal/alerts/alerts_status.go index 353e8c4..3dcf81a 100644 --- a/beszel/internal/alerts/alerts_status.go +++ b/beszel/internal/alerts/alerts_status.go @@ -158,7 +158,7 @@ func (am *AlertManager) sendStatusAlert(alertStatus string, systemName string, a UserID: user.Id, Title: title, Message: message, - Link: am.hub.MakeLink("systems", systemName), + Link: am.hub.MakeLink("system", systemName), LinkText: "View " + systemName, }) } diff --git a/beszel/internal/alerts/alerts_system.go b/beszel/internal/alerts/alerts_system.go index bbd12bc..fa53969 100644 --- a/beszel/internal/alerts/alerts_system.go +++ b/beszel/internal/alerts/alerts_system.go @@ -284,7 +284,7 @@ func (am *AlertManager) sendSystemAlert(alert SystemAlertData) { UserID: user.Id, Title: subject, Message: body, - Link: am.hub.MakeLink("systems", systemName), + Link: am.hub.MakeLink("system", systemName), LinkText: "View " + systemName, }) }