Source

main / config.ru

Full commit
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../lib/rack/munge_headers.rb',  __FILE__)

use Rack::ConditionalGet
use Rack::ETag

use Rack::MungeHeaders,
  :patterns => {
    /^\/(stylesheets|javascripts|images)/ => {
      "Expires" => Proc.new { (Time.now + 31536000).utc.rfc2822 } 
    }
  }

require ::File.expand_path('../config/environment',  __FILE__)
run DmpTool::Application