01_FHEMWEB.pm: remove automatic index.html for fhemapp (Forum #119470)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-03-17 16:13:56 +00:00
parent bda4e92b00
commit ea265db0ff

View File

@ -870,8 +870,7 @@ FW_answerCall($)
$dir =~ s,www/,,g; # Want commandref.html to work from file://...
my $file = urlDecode($ofile); # 69164
$file =~ s/[?#].*//; # Remove timestamp of CSS reloader
$file = "index.html" if(defined($file) && $file eq ""); # 119470
$file =~ s/\?.*//; # Remove timestamp of CSS reloader
if($file =~ m/^(.*)\.([^.]*)$/) {
$file = $1; $ext = $2;
}