Skip to content

Commit

Permalink
Query param fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhoward committed Nov 28, 2023
1 parent e2c143b commit 47f9186
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@ async fn proxy_handler(
let uri = Uri::builder()
.scheme(scheme)
.authority(backend_location.clone())
.path_and_query(req.uri().path())
.path_and_query(
req.uri()
.path_and_query()
.expect("Unable to extract path and query")
.clone(),
)
.build()
.expect("Unable to extract URI");

Expand Down

0 comments on commit 47f9186

Please sign in to comment.