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.

11 lines
252 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. end