0
0
Fork 0

fix: change mastodon limit

This commit is contained in:
무라쿠모 2024-09-28 11:52:18 +09:00
parent d558a3020b
commit f5413366f9
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
5 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = 500
MAX_CHARS = 4096
URL_PLACEHOLDER_CHARS = 23
URL_PLACEHOLDER = 'x' * 23