You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
311 B

  1. # frozen_string_literal: true
  2. class ActivityPub::BaseController < Api::BaseController
  3. skip_before_action :require_authenticated_user!
  4. private
  5. def set_cache_headers
  6. response.headers['Vary'] = 'Signature' if authorized_fetch_mode?
  7. end
  8. def skip_temporary_suspension_response?
  9. false
  10. end
  11. end