summaryrefslogtreecommitdiffstats
path: root/routers/web/repo
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2022-04-27 20:23:27 -0500
committerGitHub <noreply@github.com>2022-04-27 20:23:27 -0500
commit3e8aa42a1b33e220b0f4e08df1a2b3eab5f60a9e (patch)
tree95cc73124691cd006478d32781dea8991c79fa26 /routers/web/repo
parent960b813a33e83f86e99a5a876feb1b8cf8bbdbc1 (diff)
downloadgitea-3e8aa42a1b33e220b0f4e08df1a2b3eab5f60a9e.tar.gz
gitea-3e8aa42a1b33e220b0f4e08df1a2b3eab5f60a9e.zip
Update image URL for Discord webhook (#19536)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/web/repo')
-rw-r--r--routers/web/repo/webhook.go1
1 files changed, 0 insertions, 1 deletions
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