test-sinatra.ru 152 B

1234567891011121314
  1. require 'sinatra'
  2. set :logging, false
  3. get '/' do
  4. puts 'hello world'
  5. "Hello World"
  6. end
  7. get '/boom' do
  8. fail 'boom'
  9. end
  10. run Sinatra::Application