diff --git a/src/server/lib/app.rb b/src/server/lib/app.rb index cd18909f87730..74cabdadffef6 100644 --- a/src/server/lib/app.rb +++ b/src/server/lib/app.rb @@ -11,6 +11,7 @@ require "routes/proxy" require "lib/FrameOptions" require "routes/plugins" +require "rack/deflater" class Logger alias_method :write, :<< @@ -51,6 +52,8 @@ class App < Sinatra::Base json :status => 404, :message => "Not Found" end + use Rack::Deflater + # Routes go here use Routes::Home use Routes::Proxy