module Roda::RodaPlugins::Static
def self.configure(app, paths, opts={})
Load the Rack::Static middleware. Use the paths given as the :urls option,
def self.configure(app, paths, opts={}) opts = opts.dup opts[:urls] = paths opts[:root] = File.expand_path(opts[:root]||"public", app.opts[:root]) app.use ::Rack::Static, opts end