mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 18:26:13 +00:00
Merge pull request #88 from turboroot/master
Display SVG graphics properly when serving files with WEBrick
This commit is contained in:
commit
836b14c8c5
1 changed files with 4 additions and 0 deletions
4
_plugins/svg.rb
Normal file
4
_plugins/svg.rb
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
require 'webrick'
|
||||||
|
include WEBrick
|
||||||
|
|
||||||
|
WEBrick::HTTPUtils::DefaultMimeTypes.store 'svg', 'image/svg+xml'
|
Loading…
Add table
Add a link
Reference in a new issue