summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorPhil Hopper <philhopper@sibertec.com>2017-06-06 05:09:54 -0400
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-06-06 04:09:54 -0500
commit6ec07a6bd7d1f88f0685efa4e1b62a32cbb25e43 (patch)
treefa6b6ef919193243d640b814b8ca82dbb5bd9d27 /conf
parentcbdd5f787c2124ab604c9ab60b1de20c05a26b4c (diff)
downloadgitea-6ec07a6bd7d1f88f0685efa4e1b62a32cbb25e43.tar.gz
gitea-6ec07a6bd7d1f88f0685efa4e1b62a32cbb25e43.zip
Make `LocalCopyPath` a setting instead of a hard-coded path (#1881)
Diffstat (limited to 'conf')
-rw-r--r--conf/app.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 3eb46465cf..29836748d6 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -32,6 +32,10 @@ LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,
; Separate values by commas. Preview tab in edit mode won't show if the file extension doesn't match
PREVIEWABLE_FILE_MODES = markdown
+[repository.local]
+; Path for uploads. Defaults to `tmp/local-repo`
+LOCAL_COPY_PATH = tmp/local-repo
+
[repository.upload]
; Whether repository file uploads are enabled. Defaults to `true`
ENABLED = true