add mimetype for .svg

Chrome does not display .svg-images without the correct mimetype
This commit is contained in:
Jakob Ackermann 2016-10-05 01:20:30 +02:00
parent ca0cbd68d6
commit 28ef8068c8
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ mimetype.assign = ( ".png" => "image/png",
".css" => "text/css; charset=utf-8",
".js" => "application/javascript",
".json" => "application/json",
".txt" => "text/plain" )
".txt" => "text/plain",
".svg" => "image/svg+xml" )
# default listening port for IPv6 falls back to the IPv4 port
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port