Skip to content

Commit 59b19d9

Browse files
committed
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
1 parent 20ab7fc commit 59b19d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config.ru

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This file is used by Rack-based servers to start the application.
22

33
require ::File.expand_path('../config/environment', __FILE__)
4+
use Rack::Deflater
45
run Selfstarter::Application

0 commit comments

Comments
 (0)