Safe Haskell | None |
---|
Stolen from rack: The Rack::Static middleware intercepts requests for static files (javascript files, images, stylesheets, etc) based on the url prefixes passed in the options, and serves them using a Rack::File object. This allows a Rack stack to serve both static and dynamic content.
Documentation
static :: Maybe ByteString -> [ByteString] -> MiddlewareSource