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:
4
conf/app.ini
vendored
4
conf/app.ini
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user