File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
templates/repo/settings/webhook Expand file tree Collapse file tree 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) {
147147 if hookType == "discord" {
148148 ctx .Data ["DiscordHook" ] = map [string ]interface {}{
149149 "Username" : "Gitea" ,
150- "IconURL" : setting .AppURL + "img/favicon.png" ,
151150 }
152151 }
153152 ctx .Data ["BaseLink" ] = orCtx .LinkNew
Original file line number Diff line number Diff line change 1212 </div>
1313 <div class="field">
1414 <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 ">
1616 </div>
1717 {{template "repo/settings/webhook/settings" .}}
1818 </form>
You can’t perform that action at this time.
0 commit comments