aboutsummaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-30 05:07:50 -0700
committerUnknwon <u@gogs.io>2016-08-30 05:23:59 -0700
commit643142acab44d46aa6c001c90ad5d307a8662b99 (patch)
tree8e26f8959af5175e865d71a35df5dc087ff14dc8 /conf/app.ini
parent7c31f235da287b0ba1499986758332c2c346deb0 (diff)
downloadgitea-643142acab44d46aa6c001c90ad5d307a8662b99.tar.gz
gitea-643142acab44d46aa6c001c90ad5d307a8662b99.zip
Web editor: support upload files
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 5206d4c3be..3287775491 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -38,10 +38,10 @@ ENABLED = true
TEMP_PATH = data/tmp/uploads
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
ALLOWED_TYPES =
-; Max size of each file in MB. Defaults to 32MB
-FILE_MAX_SIZE = 32
-; Max number of files per upload. Defaults to 10
-MAX_FILES = 10
+; Max size of each file in MB. Defaults to 3MB
+FILE_MAX_SIZE = 3
+; Max number of files per upload. Defaults to 5
+MAX_FILES = 5
[ui]
; Number of repositories that are showed in one explore page