From 92522c913369b009dc5028287c31641f731ad268 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 6 Aug 2022 06:30:00 +0000 Subject: [PATCH] not with_connect_info --- web3_proxy/src/frontend/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index 423d5009..16da5930 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -162,7 +162,7 @@ pub async fn run(port: u16, proxy_app: Arc) -> anyhow::Result<()> info!("listening on port {}", port); // TODO: into_make_service is enough if we always run behind a proxy. make into_make_service_with_connect_info optional? axum::Server::bind(&addr) - .serve(app.into_make_service_with_connect_info::()) + .serve(app.into_make_service::()) .await .map_err(Into::into) }