Sha256: 03717cc87073ebce80bc1c8ee7566b5ec370ff3e6ee63872eb98db8a1081f26a
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
require 'bundler' env = ENV['RACK_ENV'] || :development Bundler.require :default, env begin log = open(File.expand_path("../log/#{env}.log", __FILE__), 'a+').tap {|f| f.sync = true } rescue # Heroku don't allow local file access log = $stdout end use Rack::CommonLogger, log map '/' do run proc { [302, {'Location' => '/stanza'}, []] } end map '/stanza/assets' do run TogoStanza.sprockets end map '/stanza' do run TogoStanza::Application end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
togostanza-1.0.0 | templates/provider/config.ru.erb |