sinatra-static-assets/examples/rwinter/config.ru

15 lines
232 B
Plaintext
Raw Normal View History

2009-06-01 17:53:37 +00:00
require 'mapp'
Mapp2 = Rack::Builder.new do
use Rack::ShowExceptions
use Rack::Lint
use Rack::Static, :urls => ["/stylesheets", "/images"], :root => "public"
map '/' do
run Sinatra::Mapp2.new
end
end
run Mapp2