Files
mastodon/compose.character-limit.yml
3wc 0a0273306e
Some checks failed
continuous-integration/drone/push Build is failing
Minor fixes to MAX_CHARS command:
2025-07-27 15:58:01 +01:00

13 lines
533 B
YAML

---
version: "3.8"
services:
app:
environment:
- MAX_CHARS
# NOTE: See [0] for background on why this is necessary
# [0]: See https://github.com/mastodon/mastodon/pull/30091
user: root
command: >
/bin/sh -c 'set -x && ls && sed -i -e "s/500/$MAX_CHARS/g" app/javascript/mastodon/features/compose/components/compose_form.jsx && sed -i -e "s/500/$MAX_CHARS/g" app/validators/status_length_validator.rb && rm -f /mastodon/tmp/pids/server.pid && su -c "RAILS_ENV=production bundle exec rails s -p 3000"'