Module: J1AppCompress
- Defined in:
- lib/j1_app.rb
Overview
App in production mode
Class Method Summary collapse
Class Method Details
.site ⇒ Object
80 81 82 83 84 85 86 87 |
# File 'lib/j1_app.rb', line 80 def self.site Rack::Builder.new do use Rack::ShowExceptions # Middleware. Generate web-based error pages (for Rack) use Rack::Deflater # Middleware. Enable gzip compression for ALL web servers out of Rack use J1App::AuthManager # Middleware. Support authentication methods using OmniAuth run J1App::SiteManager # Run J1App Manager to manage the (static) site as an (Rack-based) Web Application: end end |