1
0
Fork 0
forked from mirrors/akkoma

StaticFEPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 09:06:10 +03:00
parent a07688deb1
commit d36c9e210a
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/> # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only # SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.StaticFEPlug do defmodule Pleroma.Web.Plugs.StaticFEPlug do
import Plug.Conn import Plug.Conn
alias Pleroma.Web.StaticFE.StaticFEController alias Pleroma.Web.StaticFE.StaticFEController

View file

@ -568,7 +568,7 @@ defmodule Pleroma.Web.Router do
pipeline :ostatus do pipeline :ostatus do
plug(:accepts, ["html", "xml", "rss", "atom", "activity+json", "json"]) plug(:accepts, ["html", "xml", "rss", "atom", "activity+json", "json"])
plug(Pleroma.Plugs.StaticFEPlug) plug(Pleroma.Web.Plugs.StaticFEPlug)
end end
pipeline :oembed do pipeline :oembed do