fix footer

This commit is contained in:
2026-08-24 11:08:39 +01:00
parent c25e6f70be
commit 1b0ba54fa5
2 changed files with 18 additions and 4 deletions
+2
View File
@@ -16,6 +16,7 @@ func (h *Handler) Index(writer http.ResponseWriter, request *http.Request) {
Categories []string
Genders []string
Statuses []string
Now time.Time
}{
Version: h.version,
NextReset: nextReset.Format(time.RFC3339),
@@ -23,6 +24,7 @@ func (h *Handler) Index(writer http.ResponseWriter, request *http.Request) {
Categories: models.AbuseCategories,
Genders: models.Genders,
Statuses: models.Statuses,
Now: time.Now(),
}
writer.Header().Set("Content-Type", "text/html; charset=utf-8")