From 743e2723bd34c8c21acd23dfd068d56107090337 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Sat, 6 Aug 2022 06:31:22 +0000 Subject: [PATCH] todo --- web3_proxy/src/frontend/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index 1c4f5328..3cc9f9b8 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -162,6 +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) + // TODO: option to use with_connect_info // .serve(app.into_make_service_with_connect_info::()) .serve(app.into_make_service()) .await