mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
fix: Add query to post request for account creation (#6989)
This commit is contained in:
@@ -343,7 +343,7 @@ pub(crate) async fn post_empty(context: &Context, url: &str) -> Result<(String,
|
|||||||
.authority()
|
.authority()
|
||||||
.context("URL has no authority")?
|
.context("URL has no authority")?
|
||||||
.clone();
|
.clone();
|
||||||
let req = hyper::Request::post(parsed_url.path())
|
let req = hyper::Request::post(parsed_url)
|
||||||
.header(hyper::header::HOST, authority.as_str())
|
.header(hyper::header::HOST, authority.as_str())
|
||||||
.body(http_body_util::Empty::<Bytes>::new())?;
|
.body(http_body_util::Empty::<Bytes>::new())?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user