mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
fix custom emoji support when using subfolder
This commit is contained in:
parent
823e50b099
commit
747f4812e4
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,6 @@ class Plugin::CustomEmoji
|
|||
|
||||
def self.register(name, url)
|
||||
@@cache_key = Digest::SHA1.hexdigest(cache_key + name)[0..10]
|
||||
url = Discourse.base_uri + url if url[/^\/[^\/]/]
|
||||
emojis[name] = url
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue