Add description of `accepted_image_formats` in app config

This commit is contained in:
Karina Kwiatek 2021-12-22 17:17:48 +01:00
parent c995ead1e0
commit a38c134280
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ hcaptcha:
# TOTP Drift period in seconds
otp_drift_period: 30
# This list controls the "accept" attribute on file upload fields
# This ensures mobile users get an appropriate file picker (one for only images)
# as well as preventing the upload of videos or formats we don't support
# including making iOS automatically convert HEIC files to JPEG
accepted_image_formats:
- image/jpeg
- .jpg