aboutsummaryrefslogtreecommitdiff
path: root/src/guff/mime-type.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-13 19:09:09 -0400
committerPaul Duncan <pabs@pablotron.org>2016-03-13 19:09:09 -0400
commitefdf5cae3d465d853dd7593aa75ae7101c5b8d39 (patch)
tree4af049794f05c0d0e4d3b1f66cb92096f5bf6978 /src/guff/mime-type.cr
parent88b71756106ba51022c38ab45b6c7d207339dd1f (diff)
downloadold-guff-efdf5cae3d465d853dd7593aa75ae7101c5b8d39.tar.bz2
old-guff-efdf5cae3d465d853dd7593aa75ae7101c5b8d39.zip
add page-features and populate stuff
Diffstat (limited to 'src/guff/mime-type.cr')
-rw-r--r--src/guff/mime-type.cr6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guff/mime-type.cr b/src/guff/mime-type.cr
index 992521b..8f06f12 100644
--- a/src/guff/mime-type.cr
+++ b/src/guff/mime-type.cr
@@ -6,6 +6,12 @@ module Guff::MimeType
".png": "image/png",
".jpeg": "image/jpeg",
".jpg": "image/jpeg",
+ ".otf": "application/vnd.ms-opentype",
+ ".eot": "application/vnd.ms-fontobject",
+ ".svg": "image/svg+xml",
+ ".ttf": "application/x-font-ttf",
+ ".woff": "application/font-woff",
+ ".woff2": "application/font-woff",
}
def self.mime_type(path : String) : String