Skip to content

Commit

Permalink
Fix local dns websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
ostenbom committed Nov 7, 2023
1 parent 4de58bd commit 95320b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linkup-cli/src/local_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ async fn linkup_ws_request_handler(
// Proxy the request using the destination_url and the merged headers
let client = reqwest::Client::new();
headers.extend(&extra_headers);
headers.remove(LinkupHeaderName::Host);

let response_result = client
.request(req.method().clone(), &target_service.url)
.headers(headers.into())
Expand Down

0 comments on commit 95320b4

Please sign in to comment.