diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 19:53:53 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-11 19:53:53 -0400 |
commit | 3da400b21057054493feac798111cbbb3ed307b8 (patch) | |
tree | 60fddd139c597bd2616d634ed44bf839c06df476 /svc | |
parent | 770790ab9be14eefaaeac4cd4a0f4f885dc719c8 (diff) | |
download | getwtxt-3da400b21057054493feac798111cbbb3ed307b8.tar.gz |
fixed content-types
Diffstat (limited to 'svc')
-rw-r--r-- | svc/handlers.go | 4 |
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" |