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

This commit is contained in:
Jesse Grant
2013-01-14 16:49:58 -05:00
parent 20ab7fc0ef
commit 59b19d93b0

View File

@@ -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