1
0
Fork 0
forked from alemi/upub

fix: are these the issue?

This commit is contained in:
əlemi 2024-03-26 21:09:49 +01:00
parent 46b9a339f7
commit 923d96bd7f
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -112,6 +112,7 @@ async fn deliver(key: &PKey<Private>, to: &str, from: &str, payload: serde_json:
let path = to.replace("https://", "").replace("http://", "").replace(&host, "");
let signature_header = Config::new()
.dont_use_created_field()
.begin_sign("POST", &path, headers)
.unwrap()
.sign(format!("{from}#main-key"), |to_sign| {