mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-23 17:47:49 -05:00
This change adds the `rack-deflater` gem to the project and configures the application to use it. This will enable gzip compression for HTTP responses, improving performance by reducing the size of the data sent to the client.
9 lines
198 B
Ruby
9 lines
198 B
Ruby
# frozen_string_literal: true
|
|
|
|
# This file is used by Rack-based servers to start the application.
|
|
|
|
require File.expand_path('config/environment', __dir__)
|
|
|
|
use Rack::Deflater
|
|
run Rails.application
|