diff options
author | Stan Hu <stanhu@gmail.com> | 2017-06-15 12:52:41 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-06-15 12:52:41 -0700 |
commit | 38ed0b53d054d780a20ab1e7d498ad031702b60c (patch) | |
tree | 033d848614884c5f483fe3daae39264645776d2e /config/environments | |
parent | 203b49d26ed2fc1e7403ce664b9d24277f306508 (diff) | |
download | gitlab-ce-38ed0b53d054d780a20ab1e7d498ad031702b60c.tar.gz |
Rename CDN_HOST to GITLAB_CDN_HOST
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 87b94d74506..c5cbfcf64cf 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -50,7 +50,7 @@ Rails.application.configure do # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Enable serving of images, stylesheets, and JavaScripts from an asset server - config.action_controller.asset_host = ENV['CDN_HOST'] if ENV['CDN_HOST'].present? + config.action_controller.asset_host = ENV['GITLAB_CDN_HOST'] if ENV['GITLAB_CDN_HOST'].present? # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # config.assets.precompile += %w( search.js ) |