|
|
@ -147,7 +147,6 @@ func WebhooksNew(ctx *context.Context) { |
|
|
|
if hookType == "discord" { |
|
|
|
if hookType == "discord" { |
|
|
|
ctx.Data["DiscordHook"] = map[string]interface{}{ |
|
|
|
ctx.Data["DiscordHook"] = map[string]interface{}{ |
|
|
|
"Username": "Gitea", |
|
|
|
"Username": "Gitea", |
|
|
|
"IconURL": setting.AppURL + "img/favicon.png", |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
ctx.Data["BaseLink"] = orCtx.LinkNew |
|
|
|
ctx.Data["BaseLink"] = orCtx.LinkNew |
|
|
|