mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
01_FHEMWEB.pm: fix for 404 (Forum #52191)
git-svn-id: https://svn.fhem.de/fhem/trunk@11253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5a196dab1c
commit
067b63e044
@ -1684,7 +1684,7 @@ FW_returnFileAsStream($$$$$)
|
||||
"HTTP/1.1 404 Not Found\r\n".
|
||||
"Content-Length:0\r\n\r\n");
|
||||
FW_closeConn($FW_chash);
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
binmode(FH) if($type !~ m/text/); # necessary for Windows
|
||||
my $sz = -s $path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user