diff options
Diffstat (limited to 'cli/tools/installer.rs')
-rw-r--r-- | cli/tools/installer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index 82a44de16..e0cb5a222 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -139,7 +139,7 @@ pub async fn infer_name_from_url(url: &Url) -> Option<String> { if url.path() == "/" { let client = HttpClient::new(None, None); - if let Ok(res) = client.get_redirected_response(url.clone()).await { + if let Ok(res) = client.get_redirected_response(url.clone(), None).await { url = res.url().clone(); } } |