Let WEBrick serve SVGs with proper content-type

This commit is contained in:
Andrew Tian 2013-03-23 02:53:10 -05:00
parent 4621b3eed9
commit d61d62379f

4
_plugins/svg.rb Normal file
View file

@ -0,0 +1,4 @@
require 'webrick'
include WEBrick
WEBrick::HTTPUtils::DefaultMimeTypes.store 'svg', 'image/svg+xml'