From a1d195558370f49bde9a5f0eb056ad8c5ada0f9f Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 24 Jul 2024 12:51:31 +0100 Subject: [PATCH] Try asset host config --- config/environments/review.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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