diff options
author | silverwind <me@silverwind.io> | 2021-05-09 22:03:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 21:03:09 +0100 |
commit | 17a7797cdde192e07b5671d4bfe7f40150753656 (patch) | |
tree | ef0a3e90b1bfd4269e146ba73d65d527491f2d1b /modules/templates | |
parent | 2e0f3156170dac30325a5fadd5ad3525b4a60e50 (diff) | |
download | gitea-17a7797cdde192e07b5671d4bfe7f40150753656.tar.gz gitea-17a7797cdde192e07b5671d4bfe7f40150753656.zip |
Fix incorrect asset URL (#15805)
Fixes another regression from https://github.com/go-gitea/gitea/pull/15219.
Diffstat (limited to 'modules/templates')
-rw-r--r-- | modules/templates/helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go index fed15d67d6..9922cfb225 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -766,7 +766,7 @@ func ReactionToEmoji(reaction string) template.HTML { if val != nil { return template.HTML(val.Emoji) } - return template.HTML(fmt.Sprintf(`<img alt=":%s:" src="%s/img/emoji/%s.png"></img>`, reaction, setting.StaticURLPrefix, reaction)) + return template.HTML(fmt.Sprintf(`<img alt=":%s:" src="%s/assets/img/emoji/%s.png"></img>`, reaction, setting.StaticURLPrefix, reaction)) } // RenderNote renders the contents of a git-notes file as a commit message. |