Lower default file upload limit to 10MB

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-18 14:19:05 +02:00
parent 0f43a71eb0
commit e75dfbab2b

View File

@ -23,7 +23,7 @@ config :mobilizon, :instance,
# Federation is to be activated with Mobilizon 1.0.0-beta.2 # Federation is to be activated with Mobilizon 1.0.0-beta.2
federating: false, federating: false,
remote_limit: 100_000, remote_limit: 100_000,
upload_limit: 16_000_000, upload_limit: 10_000_000,
avatar_upload_limit: 2_000_000, avatar_upload_limit: 2_000_000,
banner_upload_limit: 4_000_000, banner_upload_limit: 4_000_000,
email_from: System.get_env("MOBILIZON_INSTANCE_EMAIL") || "noreply@localhost", email_from: System.get_env("MOBILIZON_INSTANCE_EMAIL") || "noreply@localhost",