Change custom emoji file size limit from 50 KB to 256 KB (#18788)

main
Eugen Rochko 2 years ago committed by GitHub
parent 04cdfc0086
commit 12ed2d793b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@
class CustomEmoji < ApplicationRecord
include Attachmentable
LIMIT = 50.kilobytes
LIMIT = 256.kilobytes
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'

Loading…
Cancel
Save