|
|
@ -19,6 +19,11 @@ Rails.application.configure do |
|
|
|
# Apache or NGINX already handles this. |
|
|
|
# Apache or NGINX already handles this. |
|
|
|
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? |
|
|
|
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ActiveSupport::Logger.new(STDOUT).tap do |logger| |
|
|
|
|
|
|
|
logger.formatter = config.log_formatter |
|
|
|
|
|
|
|
config.logger = ActiveSupport::TaggedLogging.new(logger) |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
# Compress JavaScripts and CSS. |
|
|
|
# Compress JavaScripts and CSS. |
|
|
|
config.assets.js_compressor = Uglifier.new(mangle: false) |
|
|
|
config.assets.js_compressor = Uglifier.new(mangle: false) |
|
|
|
# config.assets.css_compressor = :sass |
|
|
|
# config.assets.css_compressor = :sass |
|
|
|