From 5692b767864b5ef91650c87ede121d16aafe5d30 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 6 Aug 2022 06:30:52 +0000 Subject: [PATCH] oops --- web3_proxy/src/frontend/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index 16da5930..1c4f5328 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -162,7 +162,8 @@ 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::()) + // .serve(app.into_make_service_with_connect_info::()) + .serve(app.into_make_service()) .await .map_err(Into::into) }