Sha256: 2bb417a5ec1478092bf51dcd5a56db52c4b2b1401c55de85bd8f2c4ab8b27e9f

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

require './app'

# Experimental StatsD Emitter for ActiveRecord
# require 'napa/active_record_extensions/stats.rb'

# use Rack::Cors do
#   allow do
#     origins '*'
#     resource '*', headers: :any, methods: [:get, :post, :delete, :put, :options]
#   end
# end
#
# use Honeybadger::Rack::ErrorNotifier
# use Napa::Middleware::Logger

use Napa::Middleware::AppMonitor
# Uncomment to require header passwords for all requestss
# use Napa::Middleware::Authentication
use ActiveRecord::ConnectionAdapters::ConnectionManagement

run ApplicationApi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
napa-0.4.1 lib/napa/generators/templates/scaffold/config.ru.tt
napa-0.4.0 lib/napa/generators/templates/scaffold/config.ru.tt