mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
Add mimetype mapping settings (#15133)
* Fix APK's Content-Type header * Fix case sensitive comparison * Add custom mime type mapping for downloadable files * Add documentation for MIME type mapping * Rename download.mimetype.mapping configuration to repository.mimetype_mapping Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
@ -1177,4 +1177,5 @@ func NewServices() {
|
||||
newTaskService()
|
||||
NewQueueService()
|
||||
newProject()
|
||||
newMimeTypeMap()
|
||||
}
|
||||
|
Reference in New Issue
Block a user