forked from forgejo/forgejo
finish initial version of pull request
This commit is contained in:
parent
842770d7fb
commit
83dc2468f5
38 changed files with 748 additions and 341 deletions
|
@ -310,7 +310,7 @@ func NewConfigContext() {
|
|||
AttachmentPath = path.Join(workDir, AttachmentPath)
|
||||
}
|
||||
AttachmentAllowedTypes = strings.Replace(sec.Key("ALLOWED_TYPES").MustString("image/jpeg,image/png"), "|", ",", -1)
|
||||
AttachmentMaxSize = sec.Key("MAX_SIZE").MustInt64(32)
|
||||
AttachmentMaxSize = sec.Key("MAX_SIZE").MustInt64(4)
|
||||
AttachmentMaxFiles = sec.Key("MAX_FILES").MustInt(5)
|
||||
AttachmentEnabled = sec.Key("ENABLE").MustBool(true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue