From 17a7797cdde192e07b5671d4bfe7f40150753656 Mon Sep 17 00:00:00 2001
From: silverwind <me@silverwind.io>
Date: Sun, 9 May 2021 22:03:09 +0200
Subject: Fix incorrect asset URL (#15805)

Fixes another regression from https://github.com/go-gitea/gitea/pull/15219.
---
 modules/templates/helper.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'modules/templates/helper.go')

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.
-- 
cgit v1.2.3