diff --git a/routers/web/repo/webhook.go b/routers/web/repo/webhook.go index 2dafd4b5f..86f3754a8 100644 --- a/routers/web/repo/webhook.go +++ b/routers/web/repo/webhook.go @@ -147,7 +147,6 @@ func WebhooksNew(ctx *context.Context) { if hookType == "discord" { ctx.Data["DiscordHook"] = map[string]interface{}{ "Username": "Gitea", - "IconURL": setting.AppURL + "img/favicon.png", } } ctx.Data["BaseLink"] = orCtx.LinkNew diff --git a/templates/repo/settings/webhook/discord.tmpl b/templates/repo/settings/webhook/discord.tmpl index 02c7b44ea..1b58cfb6f 100644 --- a/templates/repo/settings/webhook/discord.tmpl +++ b/templates/repo/settings/webhook/discord.tmpl @@ -12,7 +12,7 @@