endpoint: reorder: handle favicon plug first
This commit is contained in:
parent
4bc0b26abe
commit
0879dd3950
1 changed files with 9 additions and 9 deletions
|
|
@ -65,15 +65,6 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
plug(Pleroma.Web.Plugs.InstanceStatic,
|
|
||||||
at: "/",
|
|
||||||
gzip: true,
|
|
||||||
cache_control_for_etags: @static_cache_disabled,
|
|
||||||
headers: %{
|
|
||||||
"cache-control" => @static_cache_disabled
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
plug(Pleroma.Web.Plugs.Favicon,
|
plug(Pleroma.Web.Plugs.Favicon,
|
||||||
at: "/",
|
at: "/",
|
||||||
only: ["favicon.png"],
|
only: ["favicon.png"],
|
||||||
|
|
@ -83,6 +74,15 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
plug(Pleroma.Web.Plugs.InstanceStatic,
|
||||||
|
at: "/",
|
||||||
|
gzip: true,
|
||||||
|
cache_control_for_etags: @static_cache_disabled,
|
||||||
|
headers: %{
|
||||||
|
"cache-control" => @static_cache_disabled
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
plug(Pleroma.Web.Plugs.FrontendStatic,
|
plug(Pleroma.Web.Plugs.FrontendStatic,
|
||||||
at: "/",
|
at: "/",
|
||||||
frontend_type: :primary,
|
frontend_type: :primary,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue