fix: Discord webhook avatar URLs pointing to wrong repository

This commit is contained in:
Pulse Monitor 2025-08-10 19:23:31 +00:00
parent 8eabdf8212
commit 14dcdfc4d6

View file

@ -22,7 +22,7 @@ func GetWebhookTemplates() []WebhookTemplate {
Headers: map[string]string{"Content-Type": "application/json"},
PayloadTemplate: `{
"username": "Pulse Monitoring",
"avatar_url": "https://raw.githubusercontent.com/rcourtman/pulse-go-rewrite/main/frontend-modern/public/favicon.svg",
"avatar_url": "https://raw.githubusercontent.com/rcourtman/Pulse/main/frontend-modern/public/favicon.svg",
"embeds": [{
"title": "Pulse Alert: {{.Level | title}}",
"description": "{{.Message}}",
@ -39,7 +39,7 @@ func GetWebhookTemplates() []WebhookTemplate {
"timestamp": "{{.Timestamp}}",
"footer": {
"text": "Pulse Monitoring",
"icon_url": "https://raw.githubusercontent.com/rcourtman/pulse-go-rewrite/main/frontend-modern/public/favicon.svg"
"icon_url": "https://raw.githubusercontent.com/rcourtman/Pulse/main/frontend-modern/public/favicon.svg"
}
}]
}`,