Uncached UI reload after update (#27194)

This commit is contained in:
Michael Geers 2026-02-03 22:22:47 +01:00 • committed by GitHub
parent f514986143
commit 0f3ed0e131
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,7 @@ func getPreferredLanguage(header string) string {
func indexHandler(customCss bool) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=UTF-8")
w.Header().Set("Cache-Control", "no-cache")
indexTemplate, err := fs.ReadFile(assets.Web, "index.html")
if err != nil {