fix: typo
This commit is contained in:
parent
7c87bb2f72
commit
719e845d5e
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ impl Forwarder<HttpsConnector<HttpConnector>, Body> {
|
|||
let connector_h2 = hyper_rustls::HttpsConnectorBuilder::new()
|
||||
.with_webpki_roots()
|
||||
.https_or_http()
|
||||
.enable_http1()
|
||||
.enable_http2()
|
||||
.build();
|
||||
|
||||
let inner = Client::builder().build::<_, Body>(connector);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue