mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FEATURE: add webp and svg to known image formats
This commit is contained in:
parent
199896a607
commit
d926cc13ac
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class FileHelper
|
|||
private
|
||||
|
||||
def self.images
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp"]
|
||||
@@images ||= Set.new ["jpg", "jpeg", "png", "gif", "tif", "tiff", "bmp", "svg", "webp"]
|
||||
end
|
||||
|
||||
def self.images_regexp
|
||||
|
|
Loading…
Reference in a new issue