mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
Better content-type for icons: Firefox@Windows has problems with image/*
git-svn-id: https://svn.fhem.de/fhem/trunk@421 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2db7a97db2
commit
e180de03d8
@ -240,7 +240,8 @@ FW_AnswerCall($)
|
||||
binmode (FH); # necessary for Windows
|
||||
pO join("", <FH>);
|
||||
close(FH);
|
||||
$__RETTYPE = "image/*";
|
||||
my @f_ext = split(/\./,$1); #kpb
|
||||
$__RETTYPE = "image/$f_ext[-1]";
|
||||
return 1;
|
||||
} elsif($arg !~ m/^$__ME(.*)/) {
|
||||
Log(5, "Unknown document $arg requested");
|
||||
|
Loading…
x
Reference in New Issue
Block a user