diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-10-25 01:49:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-24 13:49:52 -0400 |
commit | b91261cab9902a69e75d7502d41d014572a725e0 (patch) | |
tree | 51d1011ecce8a8a329c17c14ca26a04f4ba5861b /docs/content/doc | |
parent | eef58710426064bb388fc5320b4376d5788994af (diff) | |
download | gitea-b91261cab9902a69e75d7502d41d014572a725e0.tar.gz gitea-b91261cab9902a69e75d7502d41d014572a725e0.zip |
Remove duplicated repository.upload on cheat-sheet docs (#13290)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index ed2254f247..c58e26ceb1 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -141,15 +141,6 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo` -## Repository - Upload (`repository.upload`) - -- `ENABLED`: **true**: Whether repository file uploads are enabled. Defaults to `true` -- `TEMP_PATH`: **data/tmp/uploads**: Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart) -- `ALLOWED_TYPES`: **_empty_**:; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type -- `FILE_MAX_SIZE`: **3**: Max size of each file in megabytes. Defaults to 3MB -- `MAX_FILES`: **5**: Max number of files per upload. Defaults to 5 - - ## CORS (`cors`) - `ENABLED`: **false**: enable cors headers (disabled by default) |