forked from mirrors/catstodon
Change custom emoji file size limit from 50 KB to 256 KB (#18788)
This commit is contained in:
parent
04cdfc0086
commit
12ed2d793b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
class CustomEmoji < ApplicationRecord
|
class CustomEmoji < ApplicationRecord
|
||||||
include Attachmentable
|
include Attachmentable
|
||||||
|
|
||||||
LIMIT = 50.kilobytes
|
LIMIT = 256.kilobytes
|
||||||
|
|
||||||
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'
|
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue