Add SVG support to Jekyll/Webrick. Fixes #406.

This commit is contained in:
Jordon Bedwell 2013-01-25 06:19:48 +01:00 committed by Parker Moore
parent 2c76311ada
commit 4f7881ba40
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ module Jekyll
mime_types = WEBrick::HTTPUtils::DefaultMimeTypes mime_types = WEBrick::HTTPUtils::DefaultMimeTypes
mime_types.store 'js', 'application/javascript' mime_types.store 'js', 'application/javascript'
mime_types.store 'svg', 'image/svg+xml'
s = HTTPServer.new( s = HTTPServer.new(
:Port => options['port'], :Port => options['port'],