relay: remove @allow_relay for the moment

This commit is contained in:
William Pitcock 2018-08-06 07:34:39 +00:00
parent 266b314051
commit f9b0fc4ddb

View file

@ -319,12 +319,10 @@ defmodule Pleroma.Web.Router do
end end
if @federating do if @federating do
if @allow_relay do scope "/", Pleroma.Web.ActivityPub do
scope "/", Pleroma.Web.ActivityPub do # XXX: not really ostatus either
# XXX: not really ostatus either pipe_through(:ostatus)
pipe_through(:ostatus) get("/", ActivityPubController, :relay)
get("/", ActivityPubController, :relay)
end
end end
scope "/", Pleroma.Web.ActivityPub do scope "/", Pleroma.Web.ActivityPub do