Sha256: f6ebb28575319024a550a4b2bcc359095b64ca5924014a54f1da47864653f968

Contents?: true

Size: 315 Bytes

Versions: 4

Compression:

Stored size: 315 Bytes

Contents

require 'mapp1/mapp'
require 'mapp2/mapp'

Mapp = Rack::Builder.new do
  use Rack::ShowExceptions
  use Rack::Lint
  
  #use Rack::Static, :urls => ["/stylesheets", "/images"], :root => "public"

  map '/mapp1' do
    run Sinatra::Mapp1.new
  end
  
  map '/mapp2' do
    run Sinatra::Mapp2.new
  end
end

run Mapp

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
wbzyl-rack-static-assets-0.0.2 examples/mconfig.ru
wbzyl-sinatra-static-assets-0.0.10 examples/mconfig.ru
wbzyl-sinatra-static-assets-0.0.8 examples/mconfig.ru
wbzyl-sinatra-static-assets-0.0.9 examples/mconfig.ru