hack-contrib-2009.8.16: Hack contribSource codeContentsIndex
Hack.Contrib.Middleware.Static
Description
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 String -> [String] -> MiddlewareSource
Produced by Haddock version 2.4.2