소스 검색

Merge branch 'bugfix/sharedinbox-path-first' into 'develop'

router: ensure the AP sharedinbox path is registered first

See merge request pleroma/pleroma!1458
tags/v1.1.4
kaniini 5 년 전
부모
커밋
1689a11a80
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. +6
    -6
      lib/pleroma/web/router.ex

+ 6
- 6
lib/pleroma/web/router.ex 파일 보기

@@ -663,6 +663,12 @@ defmodule Pleroma.Web.Router do
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
pipe_through(:ap_service_actor)

@@ -677,12 +683,6 @@ defmodule Pleroma.Web.Router do
post("/inbox", ActivityPubController, :inbox)
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
pipe_through(:well_known)



불러오는 중...
취소
저장