1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 12:38:20 +00:00

Make LocalCopyPath a setting instead of a hard-coded path (#1881)

This commit is contained in:
Phil Hopper
2017-06-06 05:09:54 -04:00
committed by Bo-Yi Wu
parent cbdd5f787c
commit 6ec07a6bd7
4 changed files with 44 additions and 1 deletions

4
conf/app.ini vendored
View File

@@ -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