1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2025-04-22 10:54:08 +00:00

[] Adjusted scope restriction for MastodonAPIController#index.

This commit is contained in:
Ivan Tashkinov 2019-02-20 14:05:02 +03:00
parent 337367d764
commit 3ad91ec3c1

View file

@ -582,7 +582,7 @@ defmodule Pleroma.Web.Router do
delete("/auth/sign_out", MastodonAPIController, :logout)
scope [] do
pipe_through(:oauth_read)
pipe_through(:oauth_read_or_unauthenticated)
get("/web/*path", MastodonAPIController, :index)
end
end