support svg type

This commit is contained in:
Ad Schellevis 2018-05-15 11:50:22 +02:00
parent 45f4a43f16
commit d4e4f373de
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ foreach ($hosted_local_patterns as $pattern) {
'js' => 'application/javascript',
'jpg' => 'image/jpg',
'png' => 'image/png',
'svg' => 'image/svg+xml',
'map' => 'application/json'
];
if (isset($mimeTypes[$tmp_ext[count($tmp_ext)-1]])) {