mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
FIX: use correct sprite path for non-local setups
This commit is contained in:
parent
e1f5620b04
commit
f7875eaeb7
@ -206,7 +206,7 @@ module SvgSprite
|
||||
original_path = external_copy.try(:path)
|
||||
end
|
||||
|
||||
custom_sprite_paths << Discourse.store.path_for(upload) if original_path.present?
|
||||
custom_sprite_paths << original_path if original_path.present?
|
||||
end
|
||||
|
||||
custom_sprite_paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user