endpoint: set cache control for favicon.png
Signed-off-by: Yonle <yonle@proton.me>
This commit is contained in:
parent
848b3f5d5b
commit
970e0f9044
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ defmodule Pleroma.Web.Endpoint do
|
||||||
Pleroma.Web.Plugs.InstanceStatic,
|
Pleroma.Web.Plugs.InstanceStatic,
|
||||||
at: "/",
|
at: "/",
|
||||||
from: :pleroma,
|
from: :pleroma,
|
||||||
only: ["emoji", "images"],
|
only: ["emoji", "images", "favicon.png"],
|
||||||
gzip: true,
|
gzip: true,
|
||||||
cache_control_for_etags: @static_cache_control,
|
cache_control_for_etags: @static_cache_control,
|
||||||
headers: %{
|
headers: %{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue