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