Expose maximum picture sizes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-04-12 10:13:11 +02:00
parent fb614cf877
commit 0210b677c5
7 changed files with 39 additions and 4 deletions

View File

@@ -25,9 +25,9 @@ config :mobilizon, :instance,
allow_relay: true,
federating: true,
remote_limit: 100_000,
upload_limit: 10_000_000,
avatar_upload_limit: 2_000_000,
banner_upload_limit: 4_000_000,
upload_limit: 10_485_760,
avatar_upload_limit: 2_097_152,
banner_upload_limit: 4_194_304,
remove_orphan_uploads: true,
orphan_upload_grace_period_hours: 48,
remove_unconfirmed_users: true,