Runtime configured router
[akkoma] / lib / pleroma / web / activity_pub / activity_pub_controller.ex
index 531e98237a1abb537da41ffbdb0f9010e93ecea3..99342aad979c4fdb8981569ec8c20dd4fb2bdd70 100644 (file)
@@ -12,6 +12,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
 
   action_fallback(:errors)
 
+  plug(Pleroma.Web.FederatingPlug when action in [:inbox, :relay])
   plug(:relay_active? when action in [:relay])
 
   def relay_active?(conn, _) do