aboutsummaryrefslogtreecommitdiff
path: root/src/reverse_proxy.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-09 12:20:37 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-09 12:20:37 +0100
commite4942490ee6f51573223772ceee8a8ac46b55ae6 (patch)
tree5500ce3ba4a4b9f43221f92bf7a714d70b024f49 /src/reverse_proxy.rs
parentfdb83162ce9979184a9d680c5ec4f64235497485 (diff)
downloadtricot-e4942490ee6f51573223772ceee8a8ac46b55ae6.tar.gz
tricot-e4942490ee6f51573223772ceee8a8ac46b55ae6.zip
Cargo clippydocker-19
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);