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 15.14:0.2.2.1
Stackage Nightly 2020-05-26:0.2.2.1
Latest on Hackage:0.2.2.1

See all snapshots servant-static-th appears in

BSD-3-Clause licensed by Dennis Gosnell
Maintained by [email protected]

Module documentation for 0.1.0.6

This version can be pinned in stack with:[email protected]: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.