fmt
This commit is contained in:
parent
2563ad1289
commit
359aa4060b
@ -300,7 +300,7 @@ fn create_proxied_request<B>(
|
|||||||
let upgrade_type = get_upgrade_type(request.headers());
|
let upgrade_type = get_upgrade_type(request.headers());
|
||||||
|
|
||||||
let uri: hyper::Uri = forward_uri(forward_url, &request).parse()?;
|
let uri: hyper::Uri = forward_uri(forward_url, &request).parse()?;
|
||||||
|
|
||||||
request
|
request
|
||||||
.headers_mut()
|
.headers_mut()
|
||||||
.insert(HOST, HeaderValue::from_str(uri.host().unwrap())?);
|
.insert(HOST, HeaderValue::from_str(uri.host().unwrap())?);
|
||||||
|
Loading…
Reference in New Issue
Block a user