]> source.dussan.org Git - gitea.git/commit
Support custom mime type mapping for text files (#16304)
authorJimmy Praet <jimmy.praet@telenet.be>
Wed, 30 Jun 2021 21:31:54 +0000 (23:31 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Jun 2021 21:31:54 +0000 (17:31 -0400)
commitce286f9d9c00ceb24fb4eab4cab56c0b0678765a
treee8ef0385b108332f63bb744e45fe2ad62bb5a3cf
parent99799832835aae6a8641112cb71eb87baef32afa
Support custom mime type mapping for text files (#16304)

* Support custom mime type mapping for text files

* Apply suggested change to routers/common/repo.go

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
integrations/download_test.go
integrations/gitea-repositories-meta/user2/repo2.git/objects/10/32bbf17fbc0d9c95bb5418dabe8f8c99278700 [new file with mode: 0644]
integrations/gitea-repositories-meta/user2/repo2.git/objects/26/f842bcad37fa40a1bb34cbb5ee219ee35d863d [new file with mode: 0644]
integrations/gitea-repositories-meta/user2/repo2.git/objects/ba/1aed4e2ea2443d76cec241b96be4ec990852ec [new file with mode: 0644]
integrations/gitea-repositories-meta/user2/repo2.git/refs/heads/master
routers/common/repo.go