diff options
author | Anthony Wang | 2022-07-11 15:14:32 -0500 |
---|---|---|
committer | Anthony Wang | 2022-07-11 15:14:32 -0500 |
commit | 1096aa34d24ee521f245dc8ee105c29950daee02 (patch) | |
tree | 8d79d2c9dc4bedc9ed937588bbd08a88904a98a9 | |
parent | 41223c10be83f0feafc17e18955780d3e97b1cb1 (diff) |
Fix typo
-rw-r--r-- | deliver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,5 +10,5 @@ signed_string = "(request-target): post /inbox\nhost: git.exozy.me\ndate: #{date signature = Base64.strict_encode64(keypair.sign(OpenSSL::Digest::SHA256.new, signed_string)) header = 'keyId="https://test.exozy.me/api/v1/activitypub/user/test#main-key",headers="(request-target) host date",signature="' + signature + '"' -HTTP.headers({ 'Host': 'mastodon.social', 'Date': date, 'Signature': header }) +HTTP.headers({ 'Host': 'git.exozy.me', 'Date': date, 'Signature': header }) .post('https://git.exozy.me/api/v1/activitypub/user/Ta180m/inbox', body: document) |