chore(webui): remove redundant set of the Cache-Control header in state get handler
This commit is contained in:
parent
20fa1d02be
commit
80958d5b0f
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue