Raise profile photo size limit to 5mb

This commit is contained in:
Fosco Marotto 2021-01-17 13:15:53 -05:00
parent bde7172ba4
commit d2d381eb90
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ module AccountAvatar
extend ActiveSupport::Concern
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].freeze
LIMIT = 2.megabytes
LIMIT = 5.megabytes
class_methods do
def avatar_styles(file)