Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 449 Bytes
require 'rubygems'
require 'sinatra'
require 'sinatra/reloader'
require 'rack-protection'
require 'rack-flash'
use Rack::Session::Cookie, :secret => 'sup3rs3cr3tk3y_f0rc00kie', :expire_after => 86400
use Rack::Flash
#use Rack::Protection
#use Rack::Protection::AuthenticityToken
#use Rack::Protection::FormToken
#use Rack::Protection::RemoteReferrer
#use Rack::Protection::EscapedParams
require './init.rb'
run Sinatra::Application