Added mime-type mapping for SVG files
I added a mime-type mapping for SVG files because when serving gitbucket from Wildfly, SVG files like the logo "gitbucket.svg" are being sent with "Content-Type: text/html", causing the image not to be displayed in the browser.
Adding this mapping to web.xml fixes that behavior for deployments on Wildfly and possibly other application servers.
1 parent 65ac7b7 commit 889f4f0a0f131c40312d9cec27abca2e8416f02b
@Steffen Raabe Steffen Raabe authored on 2 Jun 2018
GitHub committed on 2 Jun 2018
Showing 1 changed file
View
src/main/webapp/WEB-INF/web.xml