diff options
author | Unknwon <u@gogs.io> | 2016-08-12 02:29:29 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-14 23:52:24 -0700 |
commit | 15845cb28763c1542556ad61d2aa9735541dbf45 (patch) | |
tree | 94b2053202fcf5270e0697fc37c38203310571ed /conf/app.ini | |
parent | d0a0239bacf02eb004634dfe1bb0a3f7dfe5adb6 (diff) | |
download | gitea-15845cb28763c1542556ad61d2aa9735541dbf45.tar.gz gitea-15845cb28763c1542556ad61d2aa9735541dbf45.zip |
Code clean up for new config options
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 10 |
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 |