[#1560] Restricted AP- & OStatus-related routes for non-federating instances.
[akkoma] / lib / pleroma / web / activity_pub / activity_pub_controller.ex
index 5059e398417149f0fd24d03cd14465052a5e1356..aee574262cefb311f56fde7b25abe48fb77431b7 100644 (file)
@@ -30,7 +30,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
     when action in [:activity, :object]
   )
 
-  plug(Pleroma.Web.FederatingPlug when action in [:inbox, :relay])
+  plug(Pleroma.Web.FederatingPlug)
   plug(:set_requester_reachable when action in [:inbox])
   plug(:relay_active? when action in [:relay])