diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-03-23 20:15:06 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-03-23 20:15:06 +0100 |
commit | d30e845485b416e1c48fade14694b12a9fe59b6b (patch) | |
tree | 614e321fea5d37301ece7aa9eb5f61557343be4e /cache/filecache | |
parent | 597e418cb02883418f2cebb41400e8e61413f651 (diff) | |
download | hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.tar.gz hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.zip |
Run gofmt -s
Diffstat (limited to 'cache/filecache')
-rw-r--r-- | cache/filecache/filecache_config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/filecache/filecache_config.go b/cache/filecache/filecache_config.go index 75a9b61ca..a6a0252b2 100644 --- a/cache/filecache/filecache_config.go +++ b/cache/filecache/filecache_config.go @@ -47,11 +47,11 @@ const ( var defaultCacheConfigs = map[string]cacheConfig{ cacheKeyGetJSON: defaultCacheConfig, cacheKeyGetCSV: defaultCacheConfig, - cacheKeyImages: cacheConfig{ + cacheKeyImages: { MaxAge: -1, Dir: resourcesGenDir, }, - cacheKeyAssets: cacheConfig{ + cacheKeyAssets: { MaxAge: -1, Dir: resourcesGenDir, }, |