Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add MIME types for .ttf and .woff

  • Loading branch information...
commit 469518f7d971ba99fc335cf546d605d2364c81aa 1 parent 672396f
Raving Genius authored manveru committed

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  lib/rack/mime.rb
2  lib/rack/mime.rb
@@ -181,6 +181,7 @@ def mime_type(ext, fallback='application/octet-stream')
181 181 ".tiff" => "image/tiff",
182 182 ".torrent" => "application/x-bittorrent",
183 183 ".tr" => "text/troff",
  184 + ".ttf" => "application/octet-stream",
184 185 ".txt" => "text/plain",
185 186 ".vcf" => "text/x-vcard",
186 187 ".vcs" => "text/x-vcalendar",
@@ -191,6 +192,7 @@ def mime_type(ext, fallback='application/octet-stream')
191 192 ".wma" => "audio/x-ms-wma",
192 193 ".wmv" => "video/x-ms-wmv",
193 194 ".wmx" => "video/x-ms-wmx",
  195 + ".woff" => "application/octet-stream",
194 196 ".wrl" => "model/vrml",
195 197 ".wsdl" => "application/wsdl+xml",
196 198 ".xbm" => "image/x-xbitmap",

0 comments on commit 469518f

Please sign in to comment.
Something went wrong with that request. Please try again.