Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data XStaticFile = XStaticFile {}
- xstaticApp :: [XStaticFile] -> Application
- embedFile :: FilePath -> Q Exp
xstatic api
data XStaticFile Source #
A static file definition
XStaticFile | |
|
xstaticApp :: [XStaticFile] -> Application Source #
Create a wai application to serve XStaticFile
.
The request are served whenever the basename match, ignoring the parent directory or the query string.