router: ensure the AP sharedinbox path is registered first
This commit is contained in:
parent
fe548f322e
commit
bc6c5c513a
@ -663,6 +663,12 @@ defmodule Pleroma.Web.Router do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
scope "/", Pleroma.Web.ActivityPub do
|
||||||
|
pipe_through(:activitypub)
|
||||||
|
post("/inbox", ActivityPubController, :inbox)
|
||||||
|
post("/users/:nickname/inbox", ActivityPubController, :inbox)
|
||||||
|
end
|
||||||
|
|
||||||
scope "/relay", Pleroma.Web.ActivityPub do
|
scope "/relay", Pleroma.Web.ActivityPub do
|
||||||
pipe_through(:ap_service_actor)
|
pipe_through(:ap_service_actor)
|
||||||
|
|
||||||
@ -677,12 +683,6 @@ defmodule Pleroma.Web.Router do
|
|||||||
post("/inbox", ActivityPubController, :inbox)
|
post("/inbox", ActivityPubController, :inbox)
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/", Pleroma.Web.ActivityPub do
|
|
||||||
pipe_through(:activitypub)
|
|
||||||
post("/inbox", ActivityPubController, :inbox)
|
|
||||||
post("/users/:nickname/inbox", ActivityPubController, :inbox)
|
|
||||||
end
|
|
||||||
|
|
||||||
scope "/.well-known", Pleroma.Web do
|
scope "/.well-known", Pleroma.Web do
|
||||||
pipe_through(:well_known)
|
pipe_through(:well_known)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user