diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-01-04 03:36:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 04:36:47 +0100 |
commit | 165346c15c6d021028a65121e692a17ffc927e2c (patch) | |
tree | 7b983ce6987940224e9f4e21a9740304e243a021 /custom | |
parent | 0848c716bf68b94b703072fdb07bc282e20e1290 (diff) | |
download | gitea-165346c15c6d021028a65121e692a17ffc927e2c.tar.gz gitea-165346c15c6d021028a65121e692a17ffc927e2c.zip |
Add MP4 as default allowed attachment type (#18170)
Diffstat (limited to 'custom')
-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 1d19a34380..d860923500 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1617,7 +1617,7 @@ PATH = ;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 = .docx,.gif,.gz,.jpeg,.jpg,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip +;ALLOWED_TYPES = .docx,.gif,.gz,.jpeg,.jpg,.mp4,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip ;; ;; Max size of each file. Defaults to 4MB ;MAX_SIZE = 4 |