Skip to content

Commit 12c2864

Browse files
authored
Remove old proxy backwards compatibility
(cherry picked from commit d2ff8f8)
1 parent 3eab81f commit 12c2864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/healthcheck/check.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func Check(w http.ResponseWriter, r *http.Request) {
8585

8686
data, _ := json.MarshalIndent(rsp, "", " ")
8787
w.Header().Set("Content-Type", "application/json")
88-
w.Header().Set("Cache-Control", "no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate")
88+
w.Header().Set("Cache-Control", "no-store")
8989
w.WriteHeader(rsp.Status.ToHTTPStatus())
9090
_, _ = w.Write(data)
9191
}

0 commit comments

Comments
 (0)