Fix the mime type returned for svg images. Closes GH-442.
This commit is contained in:
parent
ab270c1adb
commit
b7e66a7658
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user