From d2ff8f8720a5d3cc65b8d94c1458a8b4c569bb4c Mon Sep 17 00:00:00 2001 From: Ada Date: Fri, 5 Apr 2024 22:08:22 +0200 Subject: [PATCH] Remove old proxy backwards compatibility --- routers/web/healthcheck/check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/healthcheck/check.go b/routers/web/healthcheck/check.go index 6be3be86d8..b21971c9e2 100644 --- a/routers/web/healthcheck/check.go +++ b/routers/web/healthcheck/check.go @@ -85,7 +85,7 @@ func Check(w http.ResponseWriter, r *http.Request) { data, _ := json.MarshalIndent(rsp, "", " ") w.Header().Set("Content-Type", "application/json") - w.Header().Set("Cache-Control", "no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate") + w.Header().Set("Cache-Control", "no-store") w.WriteHeader(rsp.Status.ToHTTPStatus()) _, _ = w.Write(data) }