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) }