Copyright | (c) 2015 Futurice |
---|---|
License | MIT |
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
Originally from waitra package: http://hackage.haskell.org/package/waitra-0.0.4.0/docs/Network-Waitra-Embedded.html
- mkRecursiveEmbedded :: FilePath -> Q Exp
Documentation
mkRecursiveEmbedded :: FilePath -> Q Exp Source #
Create a [(
list, recursively traversing given directory path.FilePath
, ByteString
)]
staticApp $ embeddedSettings $(mkRecursiveEmbedded "static") -- is an in-memory equivalent of staticApp $ defaultFileServerSettings "static"