mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: use correct sprite path for non-local setups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user