mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add MP4 as default allowed attachment type (#18170)
This commit is contained in:
		@@ -1617,7 +1617,7 @@ PATH =
 | 
			
		||||
;ENABLED = true
 | 
			
		||||
;;
 | 
			
		||||
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
 | 
			
		||||
;ALLOWED_TYPES = .docx,.gif,.gz,.jpeg,.jpg,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip
 | 
			
		||||
;ALLOWED_TYPES = .docx,.gif,.gz,.jpeg,.jpg,.mp4,.log,.pdf,.png,.pptx,.txt,.xlsx,.zip
 | 
			
		||||
;;
 | 
			
		||||
;; Max size of each file. Defaults to 4MB
 | 
			
		||||
;MAX_SIZE = 4
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user