mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
01_FHEMWEB.pm: fix /icons/device mimetype for SVG (Forum #38294)
git-svn-id: https://svn.fhem.de/fhem/trunk@8864 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0d3e06f785
commit
24d431a86c
@ -529,6 +529,7 @@ FW_answerCall($)
|
||||
return 0 if(!$img);
|
||||
$iconPath = FW_iconPath($img);
|
||||
if($iconPath =~ m/\.svg$/i) {
|
||||
$FW_RETTYPE = ext2MIMEType("svg");
|
||||
FW_pO FW_makeImage($img, $img);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user