mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Drop tif
, tiff
, webp
and bmp
from supported images.
https://meta.discourse.org/t/cr2-raw-files-are-being-treated-as-tiff-files/96775/3?u=tgxworld
This commit is contained in:
@ -101,7 +101,7 @@ class FileHelper
|
||||
end
|
||||
|
||||
def self.supported_images
|
||||
@@supported_images ||= Set.new %w{jpg jpeg png gif tif tiff bmp svg webp ico}
|
||||
@@supported_images ||= Set.new %w{jpg jpeg png gif svg ico}
|
||||
end
|
||||
|
||||
def self.supported_images_regexp
|
||||
|
Reference in New Issue
Block a user