Move static FE routing into its own plug.
Previously it was piggybacking on FallbackRedirectController for users and OStatusController for notices; now it's all in one place.
This commit is contained in:
parent
c6c706161e
commit
dc3b87d153
4 changed files with 53 additions and 53 deletions
|
|
@ -495,6 +495,7 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
pipeline :ostatus do
|
||||
plug(:accepts, ["html", "xml", "atom", "activity+json", "json"])
|
||||
plug(Pleroma.Plugs.StaticFEPlug)
|
||||
end
|
||||
|
||||
pipeline :oembed do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue