From 7d5635685a6589b620f6adc9c989defae3c03b32 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 4 Oct 2024 17:59:03 +0530 Subject: [PATCH] chore: disable asset cdn host --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index a9504fc5c..647146868 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -34,7 +34,7 @@ Rails.application.configure do # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb # Enable serving of images, stylesheets, and JavaScripts from an asset server. - config.action_controller.asset_host = ENV.fetch('ASSET_CDN_HOST') if ENV['ASSET_CDN_HOST'].present? + # config.action_controller.asset_host = ENV.fetch('ASSET_CDN_HOST') if ENV['ASSET_CDN_HOST'].present? # Specifies the header that your server uses for sending files. # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX