Skip to content
Snippets Groups Projects
Commit 0a451857 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-764: if uri is home page, create a name

parent 80e729b0
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,10 @@ sub fetch_files {
} elsif ( $uri->scheme() eq 'http' ) {
# Deal with HTTP files.
my $file_path = catfile( $dest_dir, basename( $uri->path() ) );
my $filename = basename ($uri->path() );
if ($uri->path eq '') { $filename = "index.html"; }
my $file_path = catfile( $dest_dir, $filename );
if ( $deletedownloaded && -e $file_path ) {
if ($verbose) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment