summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-06-15 12:52:41 -0700
committerStan Hu <stanhu@gmail.com>2017-06-15 12:52:41 -0700
commit38ed0b53d054d780a20ab1e7d498ad031702b60c (patch)
tree033d848614884c5f483fe3daae39264645776d2e /config/environments
parent203b49d26ed2fc1e7403ce664b9d24277f306508 (diff)
downloadgitlab-ce-38ed0b53d054d780a20ab1e7d498ad031702b60c.tar.gz
Rename CDN_HOST to GITLAB_CDN_HOST
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
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 )