|
|
@ -13,7 +13,7 @@ Rails.application.configure do
|
|
|
|
# Full error reports are disabled and caching is turned on.
|
|
|
|
# Full error reports are disabled and caching is turned on.
|
|
|
|
config.consider_all_requests_local = false
|
|
|
|
config.consider_all_requests_local = false
|
|
|
|
config.action_controller.perform_caching = true
|
|
|
|
config.action_controller.perform_caching = true
|
|
|
|
config.action_controller.asset_host = ENV['CDN_HOST']
|
|
|
|
config.action_controller.asset_host = ENV['CDN_HOST'] if ENV.key?('CDN_HOST')
|
|
|
|
|
|
|
|
|
|
|
|
# Disable serving static files from the `/public` folder by default since
|
|
|
|
# Disable serving static files from the `/public` folder by default since
|
|
|
|
# Apache or NGINX already handles this.
|
|
|
|
# Apache or NGINX already handles this.
|
|
|
|