diff --git a/routers/web/repo/webhook.go b/routers/web/repo/webhook.go index 2dafd4b5f4..86f3754a8e 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 02c7b44ea9..1b58cfb6f0 100644 --- a/templates/repo/settings/webhook/discord.tmpl +++ b/templates/repo/settings/webhook/discord.tmpl @@ -12,7 +12,7 @@