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 CustomEmoji < ApplicationRecord
include Attachmentable
LIMIT = 256.kilobytes
LIMIT = 30.megabytes
MINIMUM_SHORTCODE_SIZE = 2
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'