forked from AkkomaGang/akkoma
relay: reintroduce @allow_relay
This commit is contained in:
parent
1e1a29f084
commit
5abf9ad602
1 changed files with 5 additions and 3 deletions
|
@ -323,10 +323,12 @@ def user_fetcher(username) do
|
||||||
end
|
end
|
||||||
|
|
||||||
if @federating do
|
if @federating do
|
||||||
|
if @allow_relay do
|
||||||
scope "/relay", Pleroma.Web.ActivityPub do
|
scope "/relay", Pleroma.Web.ActivityPub do
|
||||||
pipe_through(:ap_relay)
|
pipe_through(:ap_relay)
|
||||||
get("/", ActivityPubController, :relay)
|
get("/", ActivityPubController, :relay)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
scope "/", Pleroma.Web.ActivityPub do
|
scope "/", Pleroma.Web.ActivityPub do
|
||||||
pipe_through(:activitypub)
|
pipe_through(:activitypub)
|
||||||
|
|
Loading…
Reference in a new issue