mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
generate ActualDest https string on the fly
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
7a09ac81e0
commit
52e356d780
3 files changed
+24
-28
No files matched your search
@@ -71,7 +71,7 @@ impl super::Service {
|
||||
|
||||
trace!("Preparing request");
|
||||
let mut http_request = req
|
||||
.try_into_http_request::<Vec<u8>>(&actual.string, SATIR, &VERSIONS)
|
||||
.try_into_http_request::<Vec<u8>>(actual.string().as_str(), SATIR, &VERSIONS)
|
||||
.map_err(|e| err!(BadServerResponse("Invalid destination: {e:?}")))?;
|
||||
|
||||
self.sign_request::<T>(dest, &mut http_request);
|
||||
@@ -107,7 +107,7 @@ where
|
||||
request_url = ?url,
|
||||
response_url = ?response.url(),
|
||||
"Received response from {}",
|
||||
actual.string,
|
||||
actual.string(),
|
||||
);
|
||||
|
||||
let mut http_response_builder = http::Response::builder()
|
||||
|
||||
Reference in new issue
Block a user