mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -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
|
private
|
||||||
|
|
||||||
def self.images
|
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
|
end
|
||||||
|
|
||||||
def self.images_regexp
|
def self.images_regexp
|
||||||
|
|
Loading…
Reference in a new issue