forked from alemi/upub
fix: are these the issue?
This commit is contained in:
parent
46b9a339f7
commit
923d96bd7f
1 changed files with 1 additions and 0 deletions
|
@ -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 path = to.replace("https://", "").replace("http://", "").replace(&host, "");
|
||||||
|
|
||||||
let signature_header = Config::new()
|
let signature_header = Config::new()
|
||||||
|
.dont_use_created_field()
|
||||||
.begin_sign("POST", &path, headers)
|
.begin_sign("POST", &path, headers)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.sign(format!("{from}#main-key"), |to_sign| {
|
.sign(format!("{from}#main-key"), |to_sign| {
|
||||||
|
|
Loading…
Reference in a new issue