mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 11:13:57 +00:00
relay: reintroduce @allow_relay
This commit is contained in:
parent
1e1a29f084
commit
5abf9ad602
|
@ -323,9 +323,11 @@ defmodule Pleroma.Web.Router do
|
|||
end
|
||||
|
||||
if @federating do
|
||||
scope "/relay", Pleroma.Web.ActivityPub do
|
||||
pipe_through(:ap_relay)
|
||||
get("/", ActivityPubController, :relay)
|
||||
if @allow_relay do
|
||||
scope "/relay", Pleroma.Web.ActivityPub do
|
||||
pipe_through(:ap_relay)
|
||||
get("/", ActivityPubController, :relay)
|
||||
end
|
||||
end
|
||||
|
||||
scope "/", Pleroma.Web.ActivityPub do
|
||||
|
|
Loading…
Reference in a new issue