diff options
author | Julien Dessaux | 2025-01-26 18:03:44 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-01-26 18:04:24 +0100 |
commit | 80958d5b0fdfffe24c2154e6bfb367900da0f924 (patch) | |
tree | c5c8053eecfee57e87e856238adb095b9699da68 /pkg | |
parent | chore(deps): update dependencies (diff) | |
download | tfstated-80958d5b0fdfffe24c2154e6bfb367900da0f924.tar.gz tfstated-80958d5b0fdfffe24c2154e6bfb367900da0f924.tar.bz2 tfstated-80958d5b0fdfffe24c2154e6bfb367900da0f924.zip |
chore(webui): remove redundant set of the Cache-Control header in state get handler
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/webui/states.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/webui/states.go b/pkg/webui/states.go index 9e3ce27..0e956fb 100644 --- a/pkg/webui/states.go +++ b/pkg/webui/states.go @@ -16,8 +16,6 @@ func handleStatesGET(db *database.DB) http.Handler { States []model.State } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Cache-Control", "no-store, no-cache") - states, err := db.LoadStatesByPath() if err != nil { errorResponse(w, http.StatusInternalServerError, err) |