Skip to content
Browse files

default to NoMaxAge, not a magic number

  • Loading branch information...
1 parent fcab266 commit cc739649c584793c422edb41c1dc9da9d892d7c4 @gregwebs gregwebs committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wai-app-static/WaiAppStatic/Storage/Filesystem.hs
View
2 wai-app-static/WaiAppStatic/Storage/Filesystem.hs
@@ -57,7 +57,7 @@ defaultFileServerSettings root = StaticSettings
{ ssLookupFile = fileSystemLookup (fmap Just . hashFile) root
, ssMkRedirect = defaultMkRedirect
, ssGetMimeType = return . defaultMimeLookup . fromPiece . fileName
- , ssMaxAge = MaxAgeSeconds $ 60 * 60
+ , ssMaxAge = NoMaxAge
, ssListing = Just defaultListing
, ssIndices = map unsafeToPiece ["index.html", "index.htm"]
, ssRedirectToIndex = False

0 comments on commit cc73964

Please sign in to comment.
Something went wrong with that request. Please try again.