fix: typo

This commit is contained in:
Jun Kurihara 2023-08-10 17:34:29 +09:00
commit 719e845d5e
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
2 changed files with 2 additions and 2 deletions

View file

@ -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);