Change account header file limit 2MB -> 4BM

This commit is contained in:
noellabo 2020-04-09 21:43:42 +09:00
parent f8dd06a32f
commit fc8d4a7a0c

View file

@ -4,7 +4,7 @@ module AccountHeader
extend ActiveSupport::Concern extend ActiveSupport::Concern
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
LIMIT = 2.megabytes LIMIT = 4.megabytes
MAX_PIXELS = 750_000 # 1500x500px MAX_PIXELS = 750_000 # 1500x500px
class_methods do class_methods do