Remove WebP support (#11589)
This commit is contained in:
parent
15969171c1
commit
5d8ee24cd5
6 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
module AccountHeader
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
|
||||
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
|
||||
LIMIT = 2.megabytes
|
||||
MAX_PIXELS = 750_000 # 1500x500px
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue