StaticNotFoundPlug: Remove unused plug options
This commit is contained in:
parent
00ca971390
commit
85a0f2e602
1 changed files with 1 additions and 7 deletions
|
|
@ -139,13 +139,7 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
from: {:pleroma, "priv/static/adminfe/"}
|
from: {:pleroma, "priv/static/adminfe/"}
|
||||||
)
|
)
|
||||||
|
|
||||||
plug(Pleroma.Web.Plugs.StaticNotFoundPlug,
|
plug(Pleroma.Web.Plugs.StaticNotFoundPlug)
|
||||||
at: "/",
|
|
||||||
cache_control_for_etags: @static_cache_disabled,
|
|
||||||
headers: %{
|
|
||||||
"cache-control" => @static_cache_disabled
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Code reloading can be explicitly enabled under the
|
# Code reloading can be explicitly enabled under the
|
||||||
# :code_reloader configuration of your endpoint.
|
# :code_reloader configuration of your endpoint.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue