mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-22 11:14:24 -04:00
Use woff instead of ttf font
This commit is contained in:
1 parent
2cd3ee9698
commit
5c7d977ae0
5 files changed
+7
-5
No files matched your search
+4
-4
File diff suppressed because one or more lines are too long.
@@ -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)
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+1
-1
@@ -2,5 +2,5 @@
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: local('Raleway'), url(raleway-500.ttf) format('truetype');
|
||||
src: local('Raleway'), url(raleway-500.woff) format('woff');
|
||||
}
|
||||
Reference in new issue
Block a user