diff --git a/config/environments/review.rb b/config/environments/review.rb index f7438fdb6..061674171 100644 --- a/config/environments/review.rb +++ b/config/environments/review.rb @@ -25,7 +25,7 @@ Rails.application.configure do config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? # Enable serving of images, stylesheets, and JavaScripts from an asset server. - # config.asset_host = 'http://assets.example.com' + config.asset_host = ENV["APP_HOST"] + ENV["RAILS_RELATIVE_URL_ROOT"] # Specifies the header that your server uses for sending files. # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache