mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Add Rack::Deflater middleware to config/application.rb to enable gzip compression for responses.
This commit is contained in:
parent
4be58d4b4c
commit
573d527455
1 changed files with 3 additions and 1 deletions
|
|
@ -37,6 +37,8 @@ module Dawarich
|
|||
|
||||
config.active_job.queue_adapter = :sidekiq
|
||||
|
||||
config.action_mailer.preview_paths << "#{Rails.root.join('spec/mailers/previews')}"
|
||||
config.action_mailer.preview_paths << Rails.root.join('spec/mailers/previews').to_s
|
||||
|
||||
config.middleware.use Rack::Deflater
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue