mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
01_FHEMWEB.pm: remove automatic index.html for fhemapp (Forum #119470)
git-svn-id: https://svn.fhem.de/fhem/trunk@23986 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5bfd5b48e1
commit
2614241835
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user