Add `Api::V1::Instances::BaseController` base controller class (#27797)
parent
fba838d61a
commit
ac69f90098
@ -0,0 +1,8 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
class Api::V1::Instances::BaseController < Api::BaseController
|
||||||
|
skip_before_action :require_authenticated_user!,
|
||||||
|
unless: :limited_federation_mode?
|
||||||
|
|
||||||
|
vary_by ''
|
||||||
|
end
|
Loading…
Reference in new issue