Sha256: c96fd855383daa33c7f809d2847cb490129189a7f767f23479635a1cd13b2f71

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'bundler'
Bundler.require

require 'tent-status/app'

map '/' do
  use Rack::Session::Cookie,  :key => 'tent-status.session',
                              :expire_after => 2592000, # 1 month
                              :secret => ENV['COOKIE_SECRET'] || SecureRandom.hex
  run Tent::Status.new
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tent-status-0.0.1 config.ru