about summary refs log tree commit diff
path: root/config/environments/production.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-21 22:04:10 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-21 22:04:10 +0100
commit7944ed6fe51d00e49a044e04e624e72ff7be3bce (patch)
treec8a5ccd2c50e641eeaefab2f308f7ad2076e2647 /config/environments/production.rb
parent627a85f4e4019248ea1bfb68a6536a726d8f8f69 (diff)
Adding option to specify asset server, filter followers query by local accounts
during Fan Out On Write to load less stuff into memory
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r--config/environments/production.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 27238e3d8..7f13fcf6b 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -13,6 +13,7 @@ Rails.application.configure do
   # Full error reports are disabled and caching is turned on.
   config.consider_all_requests_local       = false
   config.action_controller.perform_caching = true
+  config.action_controller.asset_host      = ENV['CDN_HOST']
 
   # Disable serving static files from the `/public` folder by default since
   # Apache or NGINX already handles this.