Fix typo in comment in handler.go (#15)
This commit is contained in:
parent
c4903dbca9
commit
5ad859d28f
@ -53,7 +53,7 @@ func newHandler(config []byte) (*handler, error) {
|
||||
return nil, err
|
||||
}
|
||||
h := &handler{host: parsed.Host}
|
||||
cacheAge := int64(86400) // 24 hpurs (in seconds)
|
||||
cacheAge := int64(86400) // 24 hours (in seconds)
|
||||
if parsed.CacheAge != nil {
|
||||
cacheAge = *parsed.CacheAge
|
||||
if cacheAge < 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user