From 85a0f2e602914b1ada62ce77b90fd7233c907ada Mon Sep 17 00:00:00 2001 From: Phantasm Date: Mon, 1 Jun 2026 21:20:01 +0200 Subject: [PATCH] StaticNotFoundPlug: Remove unused plug options --- lib/pleroma/web/endpoint.ex | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 4582fd0fd..8552f5d0a 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -139,13 +139,7 @@ defmodule Pleroma.Web.Endpoint do from: {:pleroma, "priv/static/adminfe/"} ) - plug(Pleroma.Web.Plugs.StaticNotFoundPlug, - at: "/", - cache_control_for_etags: @static_cache_disabled, - headers: %{ - "cache-control" => @static_cache_disabled - } - ) + plug(Pleroma.Web.Plugs.StaticNotFoundPlug) # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint.