Skip to content

Commit

Permalink
Revert "Max chars (#50)" (#51)
Browse files Browse the repository at this point in the history
This reverts commit 43080ca.
  • Loading branch information
DismalShadowX authored Aug 28, 2024
1 parent 43080ca commit 142924b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/validators/status_length_validator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class StatusLengthValidator < ActiveModel::Validator
MAX_CHARS = ENV.fetch('MAX_POST_CHARS', 500).to_i
MAX_CHARS = 4242
URL_PLACEHOLDER_CHARS = 23
URL_PLACEHOLDER = 'x' * 23

Expand Down

0 comments on commit 142924b

Please sign in to comment.