servant-static-th

Embed a directory of static files in your Servant server

https://github.com/cdepillabout/servant-static-th

Version on this page:0.1.0.6
LTS Haskell 22.14:1.0.0.0
Stackage Nightly 2024-03-29:1.0.0.0
Latest on Hackage:1.0.0.0

See all snapshots servant-static-th appears in

BSD-3-Clause licensed by Dennis Gosnell
Maintained by [email protected]
This version can be pinned in stack with:servant-static-th-0.1.0.6@sha256:1244b4811fa91a5621c849466d6cb6ade3a715400ab7df070a281abe511fa8d8,3883

Servant.Static.TH

Build Status Hackage Stackage LTS Stackage Nightly BSD3 license

servant-static-th allows you to embed a directory of static files in your application and serve them from your Servant server

For documentation and usage examples, see the documentation on Hackage.

Changes

Changelog

v1.0.1.6

  • Make it more efficient to embed bytestring filetypes.
  • Make everything other than HTML files be embedded as bytestrings. Don’t assume UTF8 encoding.