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 16.31:0.2.4.0
Stackage Nightly 2020-06-16:0.2.3.0
Latest on Hackage:1.0.0.0

See all snapshots servant-static-th appears in

BSD-3-Clause licensed by Dennis Gosnell
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.