diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-18 21:03:32 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-18 21:03:32 -0600 |
commit | cfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (patch) | |
tree | abe88187c10217321827913d2e21f6592659ea33 /app/controllers/tags_controller.rb | |
parent | b767423188034031bc6c89f5a39f78687506a5ce (diff) |
Break up AP envelope addressing by domain
Diffstat (limited to 'app/controllers/tags_controller.rb')
-rw-r--r-- | app/controllers/tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index d8b6019f5..1f703085f 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -32,7 +32,7 @@ class TagsController < ApplicationController format.json do expires_in 3.minutes, public: public_fetch_mode? - render json: collection_presenter, serializer: ActivityPub::CollectionSerializer, adapter: ActivityPub::Adapter, content_type: 'application/activity+json', target_domain: current_account&.domain + render json: collection_presenter, serializer: ActivityPub::CollectionSerializer, adapter: ActivityPub::Adapter, content_type: 'application/activity+json', domain: current_account&.domain end end end |