summary refs log tree commit diff stats
path: root/svc/handlers.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 19:07:38 -0400
committerGitHub <noreply@github.com>2019-06-11 19:07:38 -0400
commit9a0bbd716ff234475dc7b2efa3e3c2ef96bd5454 (patch)
tree7915b74fe7be9bde61ccfd408cc3bbeb170265d8 /svc/handlers.go
parentd4af885c40ba55ea0ed9adade98afe0658099c47 (diff)
parent45ee3c060433c58a0a89de223655381933e7df11 (diff)
downloadgetwtxt-9a0bbd716ff234475dc7b2efa3e3c2ef96bd5454.tar.gz
Merge pull request #4 from getwtxt/tls-conn-and-name-resolv
TLS Support, Name Resolution Support
Diffstat (limited to 'svc/handlers.go')
-rw-r--r--svc/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc/handlers.go b/svc/handlers.go
index d3b8d8a..73ef869 100644
--- a/svc/handlers.go
+++ b/svc/handlers.go
@@ -21,7 +21,7 @@ func sendStaticEtag(w http.ResponseWriter, isCSS bool) {
 	if isCSS {
 		etag := getEtag(staticCache.cssMod)
 		w.Header().Set("ETag", "\""+etag+"\"")
-		w.Header().Set("Content-Time", txtutf8)
+		w.Header().Set("Content-Time", cssutf8)
 		return
 	}
 	etag := getEtag(staticCache.indexMod)