summaryrefslogtreecommitdiffstats
path: root/conf/app.ini
diff options
context:
space:
mode:
Diffstat (limited to 'conf/app.ini')
-rw-r--r--conf/app.ini10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/app.ini b/conf/app.ini
index 515269a764..b6163b1151 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -20,17 +20,17 @@ MAX_CREATION_LIMIT = -1
; Patch test queue length, make it as large as possible
PULL_REQUEST_QUEUE_LENGTH = 10000
-[editor]
+[repository.editor]
; List of file extensions that should have line wraps in the CodeMirror editor
; Separate extensions with a comma. To line wrap files w/o extension, just put a comma
LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,
; Valid file modes that have a preview API associated with them, such as api/v1/markdown
; Separate values by commas. Preview tab in edit mode won't show if the file extension doesn't match
-PREVIEW_TAB_APIS = markdown
+PREVIEWABLE_FILE_MODES = markdown
-[upload]
+[repository.upload]
; Whether repository file uploads are enabled. Defaults to `true`
-ENABLE_UPLOADS = true
+ENABLED = true
; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gogs restart)
TEMP_PATH = data/tmp/uploads
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
@@ -76,7 +76,7 @@ ENABLE_HARD_LINE_BREAK = false
CUSTOM_URL_SCHEMES =
; List of file extensions that should be rendered/edited as Markdown
; Separate extensions with a comma. To render files w/o extension as markdown, just put a comma
-MD_FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
+FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
[server]
PROTOCOL = http