diff options
author | Phil Hagelberg <phil@hagelb.org> | 2019-11-07 19:31:28 -0800 |
---|---|---|
committer | Phil Hagelberg <phil@hagelb.org> | 2019-11-09 18:08:45 -0800 |
commit | 886a07ba573a7dc566f51cfb44e69dac49f401cd (patch) | |
tree | 882ccb55d25ad8f0737acda6cf8913f23915a6ff /lib | |
parent | b0080fa73010cda34215baeee230481b5c56dbca (diff) | |
download | pleroma-886a07ba573a7dc566f51cfb44e69dac49f401cd.tar.gz |
Move static_fe config to its own section instead of in :instance.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/plugs/static_fe_plug.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/plugs/static_fe_plug.ex b/lib/pleroma/plugs/static_fe_plug.ex index 2af45e52a..b3fb3c582 100644 --- a/lib/pleroma/plugs/static_fe_plug.ex +++ b/lib/pleroma/plugs/static_fe_plug.ex @@ -18,7 +18,7 @@ defmodule Pleroma.Plugs.StaticFEPlug do end end - defp enabled?, do: Pleroma.Config.get([:instance, :static_fe], false) + defp enabled?, do: Pleroma.Config.get([:static_fe, :enabled], false) defp accepts_html?(conn) do conn |> get_req_header("accept") |> List.first() |> String.contains?("text/html") |