mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
Make LocalCopyPath
a setting instead of a hard-coded path (#1881)
This commit is contained in:
parent
cbdd5f787c
commit
6ec07a6bd7
4 changed files with 44 additions and 1 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue