map url => sinatra app middlewave