Safe Haskell | None |
---|---|
Language | Haskell2010 |
Serve generated static files with HTTP
Documentation
Run a HTTP server to serve a directory of static files
Allow URLs of the form /foo/bar
to serve ${path}/foo/bar.html
Return the URL for the given .html
file under serve directory
File path must be relative to the serve directory.
You may also pass source paths as long as they map directly to destination path except for file extension.