[#1732] Made AP C2S :followers and :following endpoints serve on no auth

(as for related :api pipeline endpoints).
This commit is contained in:
Ivan Tashkinov 2020-05-02 18:28:04 +03:00
commit 2d07ed7747
3 changed files with 7 additions and 5 deletions

View file

@ -585,6 +585,7 @@ defmodule Pleroma.Web.Router do
post("/users/:nickname/outbox", ActivityPubController, :update_outbox)
post("/api/ap/upload_media", ActivityPubController, :upload_media)
# The following two are S2S as well, see `ActivityPub.fetch_follow_information_for_user/1`:
get("/users/:nickname/followers", ActivityPubController, :followers)
get("/users/:nickname/following", ActivityPubController, :following)
end