Fix the mime type returned for svg images. Closes GH-442.

This commit is contained in:
Chris Eppstein 2011-07-02 20:57:24 -07:00
parent ab270c1adb
commit b7e66a7658

View File

@ -35,6 +35,8 @@ private
'image/jpeg' 'image/jpeg'
when /\.gif$/i when /\.gif$/i
'image/gif' 'image/gif'
when /\.svg$/i
'image/svg+xml'
when /\.otf$/i when /\.otf$/i
'font/opentype' 'font/opentype'
when /\.ttf$/i when /\.ttf$/i