1
0
Fork 0
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:
johannesd3 2021-02-22 11:26:12 +01:00 committed by Johannesd3
parent b606d8c661
commit f22b41956f
6 changed files with 19 additions and 47 deletions

View file

@ -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 {