summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-02 23:40:43 +0200
committerJulien Dessaux2024-04-02 23:41:26 +0200
commit7330d3ad339a3c3145217582f06b077b2e82c03e (patch)
tree30472c62fba787d04c39fc63bd1fcd01fdbe2396 /main.go
parentchore(ods): added logging of search results and updated code comments (diff)
downloadods-7330d3ad339a3c3145217582f06b077b2e82c03e.tar.gz
ods-7330d3ad339a3c3145217582f06b077b2e82c03e.tar.bz2
ods-7330d3ad339a3c3145217582f06b077b2e82c03e.zip
chore(ods): remove useless caching directives
Diffstat (limited to '')
-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)
})
}