diff options
author | Phil Hopper <philhopper@sibertec.com> | 2017-06-06 05:09:54 -0400 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-06-06 04:09:54 -0500 |
commit | 6ec07a6bd7d1f88f0685efa4e1b62a32cbb25e43 (patch) | |
tree | fa6b6ef919193243d640b814b8ca82dbb5bd9d27 /conf | |
parent | cbdd5f787c2124ab604c9ab60b1de20c05a26b4c (diff) | |
download | gitea-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.ini | 4 |
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 |