diff options
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/application.rb b/application.rb index 39e47c7..5b47935 100644 --- a/application.rb +++ b/application.rb @@ -19,11 +19,12 @@ WEBFINGER = File.join(PUBLIC_DIR, MENTION + '.json') SOCIAL_URL = "https://#{SOCIAL_DOMAIN}" 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') } +INBOX_DIR = File.join(SOCIAL_DIR, 'inbox') +OUTBOX_DIR = File.join(SOCIAL_DIR, 'outbox') +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' -VISITED = File.join(INBOX[:dir], 'visited') +VISITED = File.join(INBOX_DIR, 'visited') ACTIVITIES = %i[create announce follow accept undo delete like update move] CONTENT_TYPE = 'application/activity+json' |