diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:13:30 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:14:07 -0400 |
commit | 6dad1372a4680f2314a057b831f8cb2ef44dcf1b (patch) | |
tree | d95c10c760045c27714bc0b387f06ca8d2771eae /svc/handlers.go | |
parent | d4af885c40ba55ea0ed9adade98afe0658099c47 (diff) | |
download | getwtxt-6dad1372a4680f2314a057b831f8cb2ef44dcf1b.tar.gz |
check if behind reverse proxy
Diffstat (limited to 'svc/handlers.go')
-rw-r--r-- | svc/handlers.go | 2 |
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) |