Skip to content
Snippets Groups Projects
Commit 7ffec882 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix reverse-proxy caching of instance actor object (#11561)

parent 0e966805
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
class InstanceActorsController < ApplicationController
include AccountControllerConcern
skip_around_action :set_locale
def show
expires_in 10.minutes, public: true
render json: @account, content_type: 'application/activity+json', serializer: ActivityPub::ActorSerializer, adapter: ActivityPub::Adapter, fields: restrict_fields_to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment