# encoding: UTF-8
require './api'

use Rack::ShowExceptions

set :protection, :except => [:http_origin]

run Sinatra::Application

# encoding: UTF-8
require './api'

use Rack::ShowExceptions

disable :protection

run Sinatra::Application

Disable all Rack::Protection stuff to see if that prevents the random HTTP 500 errors.
Disable all Rack::Protection stuff to see if that prevents the random HTTP 500 errors.
