1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Increase default upload size

This commit is contained in:
Josué Tille 2023-11-22 18:58:42 +01:00
parent 1c65b06f13
commit b8e3f085bd
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ report_stats="false"
e2e_enabled_by_default="off" e2e_enabled_by_default="off"
allow_public_rooms_without_auth="false" allow_public_rooms_without_auth="false"
allow_public_rooms_over_federation="false" allow_public_rooms_over_federation="false"
max_upload_size="50M" max_upload_size="100M"
disable_msisdn_registration="true" disable_msisdn_registration="true"
registrations_require_3pid="none" registrations_require_3pid="none"
allowed_local_3pids_email="" allowed_local_3pids_email=""

View file

@ -111,7 +111,7 @@ then
fi fi
if [ -z "$max_upload_size" ] if [ -z "$max_upload_size" ]
then then
max_upload_size="50M" max_upload_size="100M"
ynh_app_setting_set --app=$app --key=max_upload_size --value=$max_upload_size ynh_app_setting_set --app=$app --key=max_upload_size --value=$max_upload_size
fi fi
if [ -z "$disable_msisdn_registration" ] if [ -z "$disable_msisdn_registration" ]