Compare commits
2 Commits
4513cb54a3
...
bfd5eef5c2
Author | SHA1 | Date |
---|---|---|
vfebvre | bfd5eef5c2 | |
vfebvre | d10861f58a |
|
@ -236,13 +236,17 @@ 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 = image/jpeg|image/png
|
||||
ALLOWED_TYPES = */*
|
||||
; Max size of each file. Defaults to 32MB
|
||||
MAX_SIZE = 32
|
||||
; Max number of files per upload. Defaults to 10
|
||||
|
|
Loading…
Reference in New Issue