Browse Source

Try asset host config

CacheAssets
Rachael Booth 6 months ago
parent
commit
a1d1955583
  1. 2
      config/environments/review.rb

2
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

Loading…
Cancel
Save