diff options
author | pdp8 <pdp8@pdp8.info> | 2023-06-21 14:32:45 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-06-21 14:32:45 +0200 |
commit | 343998896e4d4795eefcfc5fa04fb0339f38a8fe (patch) | |
tree | 13db5358a9606a3556505bca4dea8ef7ce884b9e /client.rb | |
parent | e1a5a8283ff69eb906d4c93b31d8cec1fae1b6c5 (diff) |
send_signed fixed!
Diffstat (limited to 'client.rb')
-rw-r--r-- | client.rb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,3 @@ - # client-server post "/outbox" do protected! @@ -62,10 +61,12 @@ post "/delete_all" do redirect to("/") end -post "/follow/*/*" do +post "/follow/*" do protected! mention = params['splat'][0] actor = actor(mention) + p mention + p actor follow = { "@context" => "https://www.w3.org/ns/activitystreams", "id" => File.join(SOCIAL_URL, "following", mention + ".json"), "type" => "Follow", |