diff --git a/pkg/handlers/docs.go b/pkg/handlers/docs.go index cd3a8be..89d2f6d 100644 --- a/pkg/handlers/docs.go +++ b/pkg/handlers/docs.go @@ -56,6 +56,8 @@ func (h *DocsHandler) ServeDocs(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("Access-Control-Allow-Origin", "*") w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate") + w.Header().Set("Pragma", "no-cache") + w.Header().Set("Expires", "0") fmt.Fprintln(w, htmlContent) }