Commit 3ad91ec3 authored by Ivan Tashkinov's avatar Ivan Tashkinov

[#468] Adjusted scope restriction for MastodonAPIController#index.

parent 337367d7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment