2
0
Fork 0
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:
Régis Hanol 2017-03-24 02:09:39 +01:00
parent 823e50b099
commit 747f4812e4
2 changed files with 2 additions and 2 deletions

View file

@ -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