mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-11 21:28:15 +00:00
fix: Discord webhook avatar URLs pointing to wrong repository
This commit is contained in:
parent
8eabdf8212
commit
14dcdfc4d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}]
|
||||
}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue