chore(ods): remove useless caching directives

This commit is contained in:
Julien Dessaux 2024-04-02 23:40:43 +02:00
parent d023b41fa8
commit 7330d3ad33
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -64,7 +64,6 @@ func postIndex() http.Handler {
} }
} }
slog.Info("post", "word", query, "invalid", data.Invalid) slog.Info("post", "word", query, "invalid", data.Invalid)
w.Header().Set("Cache-Control", "no-store, no-cache")
indexTemplate.ExecuteTemplate(w, "index.html", data) indexTemplate.ExecuteTemplate(w, "index.html", data)
}) })
} }