Fix mime type for svg in themes directory

This commit is contained in:
zzz
2016-01-15 15:24:40 +00:00
parent 6edd2b97b9
commit ff66d9db67
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,8 @@ if (uri.endsWith(".css")) {
response.setContentType("image/jpeg");
} else if (uri.endsWith(".ico")) {
response.setContentType("image/x-icon");
} else if (uri.endsWith(".svg")) {
response.setContentType("image/svg+xml");
}
/*
* User or plugin themes