tokumei v0.4.0 Tokumei.Static
Generate routes to server static assets
This module will serve a file of static content.
Configure the static directory by setting the @static
variable.
defmodule MyApp.Router do
use Tokumei.NotFound
use Tokumei.Static
@static "./public"
end
build on top of Raxx.Static
, TODO passing options such as pattern of files to serve as configuration