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. |
---|
|
src/main/webapp/WEB-INF/web.xml |
---|