aboutsummaryrefslogtreecommitdiff
path: root/src/reverse_proxy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/reverse_proxy.rs')
-rw-r--r--src/reverse_proxy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reverse_proxy.rs b/src/reverse_proxy.rs
index 7b0f261..72644b7 100644
--- a/src/reverse_proxy.rs
+++ b/src/reverse_proxy.rs
@@ -135,7 +135,7 @@ pub async fn call(
forward_uri: &str,
request: Request<Body>,
) -> Result<Response<Body>> {
- let proxied_request = create_proxied_request(client_ip, &forward_uri, request)?;
+ let proxied_request = create_proxied_request(client_ip, forward_uri, request)?;
trace!("Proxied request: {:?}", proxied_request);
@@ -153,7 +153,7 @@ pub async fn call_https(
forward_uri: &str,
request: Request<Body>,
) -> Result<Response<Body>> {
- let proxied_request = create_proxied_request(client_ip, &forward_uri, request)?;
+ let proxied_request = create_proxied_request(client_ip, forward_uri, request)?;
trace!("Proxied request (HTTPS): {:?}", proxied_request);