diff --git a/lib/state.go b/lib/state.go index 1d8fb71..2902305 100644 --- a/lib/state.go +++ b/lib/state.go @@ -348,6 +348,7 @@ func NewState(p policy.Policy, settings StateSettings) (state *State, err error) params, _ := json.Marshal(p.Parameters) //TODO: move this to http.go as a template + w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate") w.Header().Set("Content-Type", "text/javascript; charset=utf-8") w.WriteHeader(http.StatusOK)