diff --git a/web3_proxy/src/frontend/mod.rs b/web3_proxy/src/frontend/mod.rs index cd249f85..4d94367c 100644 --- a/web3_proxy/src/frontend/mod.rs +++ b/web3_proxy/src/frontend/mod.rs @@ -49,10 +49,18 @@ pub async fn serve(port: u16, proxy_app: Arc) -> anyhow::Result<() "/rpc/:rpc_key", post(rpc_proxy_http::proxy_web3_rpc_with_key), ) + .route( + "/rpc/:rpc_key/", + post(rpc_proxy_http::proxy_web3_rpc_with_key), + ) .route( "/rpc/:rpc_key", get(rpc_proxy_ws::websocket_handler_with_key), ) + .route( + "/rpc/:rpc_key/", + get(rpc_proxy_ws::websocket_handler_with_key), + ) .route("/health", get(status::health)) .route("/user/login/:user_address", get(users::user_login_get)) .route(