Uncached UI reload after update (#27194)
This commit is contained in:
parent
f514986143
commit
0f3ed0e131
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue