diff --git a/src/relay/routes.rs b/src/relay/routes.rs index 538b84c..ad78584 100644 --- a/src/relay/routes.rs +++ b/src/relay/routes.rs @@ -10,7 +10,8 @@ pub fn routes(context: Context) -> impl Filter impl Filter + Clone { - let real_client_ip = warp::header::optional::("X-Real-IP"); + // let real_client_ip = warp::header::optional::("X-Real-IP"); + let real_client_ip = warp::addr::remote(); warp::path::end() .and(warp::ws())