relay: reintroduce @allow_relay
This commit is contained in:
parent
1e1a29f084
commit
5abf9ad602
@ -323,9 +323,11 @@ defmodule Pleroma.Web.Router do
|
|||||||
end
|
end
|
||||||
|
|
||||||
if @federating do
|
if @federating do
|
||||||
scope "/relay", Pleroma.Web.ActivityPub do
|
if @allow_relay do
|
||||||
pipe_through(:ap_relay)
|
scope "/relay", Pleroma.Web.ActivityPub do
|
||||||
get("/", ActivityPubController, :relay)
|
pipe_through(:ap_relay)
|
||||||
|
get("/", ActivityPubController, :relay)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/", Pleroma.Web.ActivityPub do
|
scope "/", Pleroma.Web.ActivityPub do
|
||||||
|
Loading…
Reference in New Issue
Block a user