summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 19:53:53 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-11 19:53:53 -0400
commit3da400b21057054493feac798111cbbb3ed307b8 (patch)
tree60fddd139c597bd2616d634ed44bf839c06df476
parent770790ab9be14eefaaeac4cd4a0f4f885dc719c8 (diff)
downloadgetwtxt-3da400b21057054493feac798111cbbb3ed307b8.tar.gz
fixed content-types
-rw-r--r--svc/handlers.go4
1 files 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"