support svg type
This commit is contained in:
parent
45f4a43f16
commit
d4e4f373de
|
@ -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]])) {
|
||||
|
|
Loading…
Reference in New Issue