X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/534c92ec60bdffbe5a708b1656ef724578000545..8f28f9524294652e5018bafa1e889df59b6ab02e:/config/environments/production.rb?ds=inline diff --git a/config/environments/production.rb b/config/environments/production.rb index fb0c53b97..730f1dcfd 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -25,7 +25,7 @@ Rails.application.configure do config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + config.assets.js_compressor = Terser.new # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. @@ -39,7 +39,7 @@ Rails.application.configure do # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX # Store uploaded files on the local file system (see config/storage.yml for options). - config.active_storage.service = Settings.storage_service.to_sym + config.active_storage.service = :local # Mount Action Cable outside main process or domain. # config.action_cable.mount_path = nil