File tree 2 files changed +1
-2
lines changed
templates/repo/settings/webhook
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ func WebhooksNew(ctx *context.Context) {
147
147
if hookType == "discord" {
148
148
ctx .Data ["DiscordHook" ] = map [string ]interface {}{
149
149
"Username" : "Gitea" ,
150
- "IconURL" : setting .AppURL + "img/favicon.png" ,
151
150
}
152
151
}
153
152
ctx .Data ["BaseLink" ] = orCtx .LinkNew
Original file line number Diff line number Diff line change 12
12
</div>
13
13
<div class="field">
14
14
<label for="icon_url">{{.i18n.Tr "repo.settings.discord_icon_url"}}</label>
15
- <input id="icon_url" name="icon_url" value="{{.DiscordHook.IconURL}}" placeholder="e.g. https://example.com/img/favicon.png ">
15
+ <input id="icon_url" name="icon_url" value="{{.DiscordHook.IconURL}}" placeholder="e.g. https://example.com/assets/ img/logo.svg ">
16
16
</div>
17
17
{{template "repo/settings/webhook/settings" .}}
18
18
</form>
You can’t perform that action at this time.
0 commit comments