on master help sign in
default to NoMaxAge, not a magic number
commitcc739649c584793c422edb41c1dc9da9d892d7c4 authorGreg Weber <greg@gregweber.info> dateMon 24 Sep 2012, 20:47 (14 years ago) parentfcab266
1 file changed+1−1
wai-app-static/WaiAppStatic/Storage/Filesystem.hs+1−1
wai-app-static/WaiAppStatic/Storage/Filesystem.hs+1−1
@@ -57,7 +57,7 @@ defaultFileServerSettings root = StaticSettings
5757 { ssLookupFile = fileSystemLookup (fmap Just . hashFile) root
5858 , ssMkRedirect = defaultMkRedirect
5959 , ssGetMimeType = return . defaultMimeLookup . fromPiece . fileName
60− , ssMaxAge = MaxAgeSeconds $ 60 * 60
60+ , ssMaxAge = NoMaxAge
6161 , ssListing = Just defaultListing
6262 , ssIndices = map unsafeToPiece ["index.html", "index.htm"]
6363 , ssRedirectToIndex = False