Maintained by [email protected]
Module documentation for 0.2.2.1
This version can be pinned in stack with:
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.
- This was mistakenly released to Hackage without exposing the constructors added in #5). It has been blacklisted on Hackage.
- In v0.2.0.0, the new MIME types were not being exported from
Servant.Static.TH. This fixes that.
- Make it more efficient to embed bytestring filetypes.
- Make everything other than HTML files be embedded as bytestrings. Don’t assume UTF8 encoding.