From 3da400b21057054493feac798111cbbb3ed307b8 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 11 Jun 2019 19:53:53 -0400 Subject: fixed content-types --- svc/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/handlers.go b/svc/handlers.go index 73ef869..38c8bfa 100644 --- a/svc/handlers.go +++ b/svc/handlers.go @@ -21,12 +21,12 @@ func sendStaticEtag(w http.ResponseWriter, isCSS bool) { if isCSS { etag := getEtag(staticCache.cssMod) w.Header().Set("ETag", "\""+etag+"\"") - w.Header().Set("Content-Time", cssutf8) + w.Header().Set("Content-Type", cssutf8) return } etag := getEtag(staticCache.indexMod) w.Header().Set("ETag", "\""+etag+"\"") - w.Header().Set("Content-Time", htmlutf8) + w.Header().Set("Content-Type", htmlutf8) } // handles "/" and "/css" -- cgit 1.4.1-2-gfad0