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

@ -72,9 +72,9 @@ class Account < ApplicationRecord
MENTION_RE = %r{(?<![=/[:word:]])@((#{USERNAME_RE})(?:@[[:word:].-]+[[:word:]]+)?)}
URL_PREFIX_RE = %r{\Ahttp(s?)://[^/]+}
USERNAME_ONLY_RE = /\A#{USERNAME_RE}\z/i
USERNAME_LENGTH_LIMIT = 30
USERNAME_LENGTH_LIMIT = 72
DISPLAY_NAME_LENGTH_LIMIT = 30
NOTE_LENGTH_LIMIT = 500
NOTE_LENGTH_LIMIT = 4_096
AUTOMATED_ACTOR_TYPES = %w(Application Service).freeze