use CDN_URL environement variable in production

This commit is contained in:
Régis Hanol 2013-11-29 18:35:29 +01:00
parent 3da2285ef1
commit 78b2c5acff
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ Discourse::Application.configure do
# Discourse strongly recommend you use a CDN. # Discourse strongly recommend you use a CDN.
# For origin pull cdns all you need to do is register an account and configure # For origin pull cdns all you need to do is register an account and configure
# config.action_controller.asset_host = "http://YOUR_CDN_HERE" config.action_controller.asset_host = ENV["CDN_URL"] if ENV["CDN_URL"]
# a comma delimited list of emails your devs have # a comma delimited list of emails your devs have
# developers have god like rights and may impersonate anyone in the system # developers have god like rights and may impersonate anyone in the system