Compare commits

..

No commits in common. "bfd5eef5c21c88d6e7ac853bd37bb03ef130cfcc" and "4513cb54a3626c0a764d4ef51397d57b90b2e810" have entirely different histories.

1 changed files with 1 additions and 5 deletions

View File

@ -236,17 +236,13 @@ AVATAR_UPLOAD_PATH = data/avatars
GRAVATAR_SOURCE = gravatar
DISABLE_GRAVATAR = false
[repository.upload]
ALLOWED_TYPES = application/zip|application/gzip|application/x-gzip|application/x-gtar|application/x-tgz|application/x-compressed-tar|text/plain
[attachment]
; Whether attachments are enabled. Defaults to `true`
ENABLE = true
; Path for attachments. Defaults to `data/attachments`
PATH = data/attachments
; One or more allowed types, e.g. image/jpeg|image/png
; ALLOWED_TYPES = image/jpeg|image/png
ALLOWED_TYPES = */*
ALLOWED_TYPES = image/jpeg|image/png
; Max size of each file. Defaults to 32MB
MAX_SIZE = 32
; Max number of files per upload. Defaults to 10