endpoint: set cache control for favicon.png

Signed-off-by: Yonle <yonle@proton.me>
This commit is contained in:
Yonle 2026-03-02 23:48:59 +07:00 committed by Phantasm
commit 970e0f9044

View file

@ -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: %{