FIX: use correct sprite path for non-local setups

This commit is contained in:
Penar Musaraj 2019-03-15 14:33:25 -04:00
parent e1f5620b04
commit f7875eaeb7
1 changed files with 1 additions and 1 deletions

View File

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