summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-02 23:40:43 +0200
committerJulien Dessaux2024-04-02 23:41:26 +0200
commit7330d3ad339a3c3145217582f06b077b2e82c03e (patch)
tree30472c62fba787d04c39fc63bd1fcd01fdbe2396
parentchore(ods): added logging of search results and updated code comments (diff)
downloadods-master.tar.gz
ods-master.tar.bz2
ods-master.zip
chore(ods): remove useless caching directivesHEADmaster
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2a06432..ab42630 100644
--- a/main.go
+++ b/main.go
@@ -64,7 +64,6 @@ func postIndex() http.Handler {
}
}
slog.Info("post", "word", query, "invalid", data.Invalid)
- w.Header().Set("Cache-Control", "no-store, no-cache")
indexTemplate.ExecuteTemplate(w, "index.html", data)
})
}