Add SVG support to Jekyll/Webrick. Fixes #406.
This commit is contained in:
parent
2c76311ada
commit
4f7881ba40
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue