Fix typo in comment in handler.go (#15)

This commit is contained in:
erikus 2018-01-17 22:28:45 -08:00 committed by JBD
parent c4903dbca9
commit 5ad859d28f

View File

@ -53,7 +53,7 @@ func newHandler(config []byte) (*handler, error) {
return nil, err return nil, err
} }
h := &handler{host: parsed.Host} h := &handler{host: parsed.Host}
cacheAge := int64(86400) // 24 hpurs (in seconds) cacheAge := int64(86400) // 24 hours (in seconds)
if parsed.CacheAge != nil { if parsed.CacheAge != nil {
cacheAge = *parsed.CacheAge cacheAge = *parsed.CacheAge
if cacheAge < 0 { if cacheAge < 0 {