nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f5316
)
nitcorn: add media types for web fonts.
author
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 3 Aug 2015 21:18:19 +0000
(17:18 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 3 Aug 2015 21:18:19 +0000
(17:18 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/nitcorn/media_types.nit
patch
|
blob
|
history
diff --git
a/lib/nitcorn/media_types.nit
b/lib/nitcorn/media_types.nit
index
e16798e
..
73c9626
100644
(file)
--- a/
lib/nitcorn/media_types.nit
+++ b/
lib/nitcorn/media_types.nit
@@
-96,6
+96,12
@@
class MediaTypes
types["asf"] = "video/x-ms-asf"
types["mng"] = "video/x-mng"
types["apk"] = "application/vnd.android.package-archive"
+ types["svg"] = "image/svg+xml"
+ types["ttf"] = "application/x-font-ttf"
+ types["otf"] = "application/x-font-opentype"
+ types["eof"] = "application/vnd.ms-fontobject"
+ types["woff"] = "application/font-woff"
+ types["woff2"] = "application/font-woff2"
end
end