Use woff instead of ttf font

This commit is contained in:
Jakob Borg committed 2014-09-04 08:47:23 +02:00
1 parent 2cd3ee9698
commit 5c7d977ae0
5 files changed
+7 -5

No files matched your search

+2
View File
@@ -709,6 +709,8 @@ func mimeTypeForFile(file string) string {
return "image/png"
case ".ttf":
return "application/x-font-ttf"
case ".woff":
return "application/x-font-woff"
default:
return mime.TypeByExtension(ext)
}