mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 08:47:22 +03:00
tx.pl: Fix each put_to_dir taking 10 seconds
The open function expects a URL, passing only the directory name would lead HTTP::DAV to try looking it as an hostname on the network and only return after it timed out.
This commit is contained in:
parent
3e64840e33
commit
2507ba9818
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ sub put_to_dir( $$;$ )
|
|||
$targetUrl = $optionsRef->{url};
|
||||
}
|
||||
}
|
||||
$d->open($dir);
|
||||
$d->open($targetUrl . $dir);
|
||||
|
||||
my $filename = $file;
|
||||
$filename =~ s/^.*\///;
|
||||
|
|
Loading…
Reference in a new issue