Skip to content

Commit b91261c

Browse files
Remove duplicated repository.upload on cheat-sheet docs (#13290)
Co-authored-by: techknowlogick <[email protected]>
1 parent eef5871 commit b91261c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,6 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
141141

142142
- `LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo`
143143

144-
## Repository - Upload (`repository.upload`)
145-
146-
- `ENABLED`: **true**: Whether repository file uploads are enabled. Defaults to `true`
147-
- `TEMP_PATH`: **data/tmp/uploads**: Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
148-
- `ALLOWED_TYPES`: **_empty_**:; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
149-
- `FILE_MAX_SIZE`: **3**: Max size of each file in megabytes. Defaults to 3MB
150-
- `MAX_FILES`: **5**: Max number of files per upload. Defaults to 5
151-
152-
153144
## CORS (`cors`)
154145

155146
- `ENABLED`: **false**: enable cors headers (disabled by default)

0 commit comments

Comments
 (0)