wai-middleware-static

WAI middleware that serves requests to static files.

https://github.com/scotty-web/wai-middleware-static

Version on this page:0.6.0.1
LTS Haskell 22.17:0.9.2@rev:4
Stackage Nightly 2024-04-14:0.9.2@rev:4
Latest on Hackage:0.9.2@rev:4

See all snapshots wai-middleware-static appears in

BSD-3-Clause licensed and maintained by Andrew Farmer
This version can be pinned in stack with:wai-middleware-static-0.6.0.1@sha256:1e6e4f3088ac6dd989deba8aaf496f90ba6e77c173813c29a1d6eaffb74d583b,1626

Module documentation for 0.6.0.1

WAI middleware that intercepts requests to static files and serves them if they exist.

WAI
http://hackage.haskell.org/package/wai

Changes

0.6.0.1

  • Update links to new wai-middleware-static github/issue tracker.

  • Bump upper bound for text

0.6.0

  • Update to wai 3.0

0.5.0.1

  • Bump upper bound for mtl

0.5.0.0

  • Add isNotAbsolute policy and change static and staticPolicy to use noDots and isNotAbsolute policies by default. (Thanks to Nick Hibberd!)

  • Add unsafeStaticPolicy, which behaves as the old insecure staticPolicy behaved.

  • Add changelog