From 59b19d93b0b11b19f18f5ffe4375bc3e97fac305 Mon Sep 17 00:00:00 2001 From: Jesse Grant Date: Mon, 14 Jan 2013 16:49:58 -0500 Subject: [PATCH] Making it so that files will get gzipped. Because the heroku cedar stack no longer uses nginx, gzip compression must be done by the app: https://devcenter.heroku.com/articles/http-routing#gzipped-responses --- config.ru | 1 + 1 file changed, 1 insertion(+) diff --git a/config.ru b/config.ru index d04d29d..1e91240 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,5 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) +use Rack::Deflater run Selfstarter::Application