Send correct MIME type for SVG images (fixes #1506)

This commit is contained in:
Jakob Borg 2015-03-22 12:55:44 +01:00
parent 123b1f01e4
commit a7492f8612

View File

@ -828,6 +828,8 @@ func mimeTypeForFile(file string) string {
return "application/x-font-ttf"
case ".woff":
return "application/x-font-woff"
case ".svg":
return "image/svg+xml"
default:
return mime.TypeByExtension(ext)
}