diff options
author | silverwind <me@silverwind.io> | 2023-03-19 20:58:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 15:58:43 -0400 |
commit | af3711100a7dc73e8c2482667bbccdcd049e25e0 (patch) | |
tree | cd1169fa86a8379b7858ec2fa9c040d94505f52c /custom/conf | |
parent | dbdb5ba33eeecf788650e6c1c675abc602d836b5 (diff) | |
download | gitea-af3711100a7dc73e8c2482667bbccdcd049e25e0.tar.gz gitea-af3711100a7dc73e8c2482667bbccdcd049e25e0.zip |
Add `.patch` to `attachment.ALLOWED_TYPES` (#23580)
Diffstat (limited to 'custom/conf')
-rw-r--r-- | custom/conf/app.example.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 1e55ce73a2..131fb3401e 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1848,7 +1848,7 @@ ROUTER = console ;ENABLED = true ;; ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. -;ALLOWED_TYPES = .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip +;ALLOWED_TYPES = .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip ;; ;; Max size of each file. Defaults to 4MB ;MAX_SIZE = 4 |