1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 13:35:09 +01:00

Bugfix: router: allow basic_auth for outbox

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-05-08 03:08:11 +02:00
parent b3b367b894
commit 2c18830d0d
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -571,13 +571,6 @@ defmodule Pleroma.Web.Router do
get("/mailer/unsubscribe/:token", Mailer.SubscriptionController, :unsubscribe)
end
scope "/", Pleroma.Web.ActivityPub do
# XXX: not really ostatus
pipe_through(:ostatus)
get("/users/:nickname/outbox", ActivityPubController, :outbox)
end
pipeline :ap_service_actor do
plug(:accepts, ["activity+json", "json"])
end
@ -602,6 +595,7 @@ defmodule Pleroma.Web.Router do
get("/api/ap/whoami", ActivityPubController, :whoami)
get("/users/:nickname/inbox", ActivityPubController, :read_inbox)
get("/users/:nickname/outbox", ActivityPubController, :outbox)
post("/users/:nickname/outbox", ActivityPubController, :update_outbox)
post("/api/ap/upload_media", ActivityPubController, :upload_media)