0
0
Fork 0

fix: increase media size limit

This commit is contained in:
무라쿠모 2024-09-27 18:58:19 +09:00
parent e0302b3864
commit 1e64472343
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
7 changed files with 9 additions and 9 deletions

View file

@ -24,7 +24,7 @@ class PreviewCardProvider < ApplicationRecord
include Reviewable
ICON_MIME_TYPES = %w(image/x-icon image/vnd.microsoft.icon image/png).freeze
LIMIT = 1.megabyte
LIMIT = 50.megabyte
validates :domain, presence: true, uniqueness: true, domain: true