summaryrefslogtreecommitdiff
path: root/activitypub.rb
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2023-07-29 20:59:48 +0200
committerpdp8 <pdp8@pdp8.info>2023-07-29 20:59:48 +0200
commitc50f749a2685a3e7608cec8730f5fe79de4676ac (patch)
tree75192aac75c86a6593737b1bdeb211f0799a5a8e /activitypub.rb
parent3daf30b0a3837d3d8becb0baceed580e92403ce6 (diff)
POST /create
Diffstat (limited to 'activitypub.rb')
-rw-r--r--activitypub.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.rb b/activitypub.rb
index 90fe0c4..8a62fdd 100644
--- a/activitypub.rb
+++ b/activitypub.rb
@@ -22,6 +22,7 @@ ACTOR = File.join(SOCIAL_URL, USER)
INBOX = { dir: File.join(SOCIAL_DIR, 'inbox') }
OUTBOX = { dir: File.join(SOCIAL_DIR, 'outbox'), url: File.join(SOCIAL_URL, 'outbox') }
TAGS = { dir: File.join(PUBLIC_DIR, 'tags'), url: File.join(SOCIAL_URL, 'tags') }
+FOLLOWERS_URL = 'https://social.pdp8.info/followers'
CONTENT_TYPE = 'application/activity+json'
# CONTENT_TYPE = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
@@ -34,4 +35,4 @@ set :port, 9292
require_relative 'helpers'
require_relative 'server'
require_relative 'client'
-require_relative 'send'
+require_relative 'create'