0
0
Fork 0

Remove WebP support (#11589)

This commit is contained in:
Stanislas 2019-08-17 22:04:15 +02:00 committed by Eugen Rochko
parent 15969171c1
commit 5d8ee24cd5
6 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@
#
class PreviewCard < ApplicationRecord
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
LIMIT = 1.megabytes
self.inheritance_column = false