mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 18:29:45 +02:00
Update url crate to 2.1
This commit is contained in:
parent
b606d8c661
commit
f22b41956f
6 changed files with 19 additions and 47 deletions
|
@ -32,7 +32,7 @@ cfg_if! {
|
|||
|
||||
let response = if let Some(url) = proxy {
|
||||
Client::builder()
|
||||
.build(ProxyTunnel::new(url)?)
|
||||
.build(ProxyTunnel::new(&url.socket_addrs(|| None)?[..])?)
|
||||
.request(req)
|
||||
.await?
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue