summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-04 03:36:47 +0000
committerGitHub <noreply@github.com>2022-01-04 04:36:47 +0100
commit165346c15c6d021028a65121e692a17ffc927e2c (patch)
tree7b983ce6987940224e9f4e21a9740304e243a021 /docs
parent0848c716bf68b94b703072fdb07bc282e20e1290 (diff)
downloadgitea-165346c15c6d021028a65121e692a17ffc927e2c.tar.gz
gitea-165346c15c6d021028a65121e692a17ffc927e2c.zip
Add MP4 as default allowed attachment type (#18170)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index 90117efb24..02a61fe445 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -731,7 +731,7 @@ Default templates for project boards:
## Issue and pull request attachments (`attachment`)
- `ENABLED`: **true**: Whether issue and pull request attachments are enabled.
-- `ALLOWED_TYPES`: **.docx,.gif,.gz,.jpeg,.jpg,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip**: 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,mp4,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip**: Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
- `MAX_SIZE`: **4**: Maximum size (MB).
- `MAX_FILES`: **5**: Maximum number of attachments that can be uploaded at once.
- `STORAGE_TYPE`: **local**: Storage type for attachments, `local` for local disk or `minio` for s3 compatible object storage service, default is `local` or other name defined with `[storage.xxx]`