enhance: I LITERALLY HATE MASTODON'S FILE SIZE LIMIT
Signed-off-by: 무라쿠모 <space@psec.dev>
This commit is contained in:
parent
b6ab5fd675
commit
7046d2ac75
@ -23,7 +23,7 @@ class PreviewCardProvider < ApplicationRecord
|
|||||||
include Attachmentable
|
include Attachmentable
|
||||||
|
|
||||||
ICON_MIME_TYPES = %w(image/x-icon image/vnd.microsoft.icon image/png).freeze
|
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
|
validates :domain, presence: true, uniqueness: true, domain: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user