diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-28 01:40:44 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-28 01:40:44 -0400 |
commit | 6c05076bcf7d988312267ea5599cf47f2138a8cc (patch) | |
tree | 8866842991ad75d7abd14abe2446b0e092c559ba /handlers.go | |
parent | c3fcb4597dfa86e233811d783d35fbf5fb603833 (diff) | |
download | getwtxt-6c05076bcf7d988312267ea5599cf47f2138a8cc.tar.gz |
comments edited
Diffstat (limited to 'handlers.go')
-rw-r--r-- | handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go index 9f1dd8c..edfb333 100644 --- a/handlers.go +++ b/handlers.go @@ -17,7 +17,7 @@ func indexHandler(w http.ResponseWriter, r *http.Request) { etag := fmt.Sprintf("%x", sha256.Sum256([]byte(staticCache.indexMod.String()))) // Take the hex-encoded sha256 sum of the index template's mod time - // to send as an ETag. If an error occured when grabbing the file info, + // to send as an ETag. If an error occurred when grabbing the file info, // the ETag will be empty. w.Header().Set("ETag", "\""+etag+"\"") w.Header().Set("Content-Type", htmlutf8) |