From 1096aa34d24ee521f245dc8ee105c29950daee02 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Mon, 11 Jul 2022 15:14:32 -0500 Subject: Fix typo --- deliver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deliver.rb b/deliver.rb index 3a46051..9f029c9 100644 --- a/deliver.rb +++ b/deliver.rb @@ -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) -- cgit v1.2.3-70-g09d2