mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
FIX: ico are images too
This commit is contained in:
@ -28,7 +28,7 @@ class FileHelper
|
||||
private
|
||||
|
||||
def self.images
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp", "svg", "webp"]
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp", "svg", "webp", "ico"]
|
||||
end
|
||||
|
||||
def self.images_regexp
|
||||
|
Reference in New Issue
Block a user