Maintained by email@example.com
This version can be pinned in stack with:
Depends on 16 packages(full list with versions):
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.
- Serve any files called
index.htmlon the root
/as well as the path
/index.html. This makes servant-static-th operate similar to how web servers like Apache or nginx work. #19. Thanks @vendamere!
- 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.