Skip to content

Commit

Permalink
Closes #2056 - Added Rack::Deflater middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Dec 1, 2014
1 parent 7524dc6 commit 2285ea0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/lib/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
require "routes/proxy"
require "lib/FrameOptions"
require "routes/plugins"
require "rack/deflater"

class Logger
alias_method :write, :<<
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2285ea0

Please sign in to comment.