forked from mirrors/akkoma
StaticFEPlug module name
This commit is contained in:
parent
a07688deb1
commit
d36c9e210a
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue