From d447d7ee1cab8835aadc606217c9bf49e57a3524 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 24 Jul 2024 13:20:50 +0100 Subject: [PATCH] Without relative root --- 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 061674171..7e59d86d4 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 = ENV["APP_HOST"] + ENV["RAILS_RELATIVE_URL_ROOT"] + config.asset_host = ENV["APP_HOST"] # Specifies the header that your server uses for sending files. # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache