mirror of
https://github.com/discourse/discourse.git
synced 2025-04-11 09:20:51 +08: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)
|
original_path = external_copy.try(:path)
|
||||||
end
|
end
|
||||||
|
|
||||||
custom_sprite_paths << Discourse.store.path_for(upload) if original_path.present?
|
custom_sprite_paths << original_path if original_path.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
custom_sprite_paths
|
custom_sprite_paths
|
||||||
|
Loading…
x
Reference in New Issue
Block a user