Browse Source

Without relative root

CacheAssets
Rachael Booth 5 months ago
parent
commit
d447d7ee1c
  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 = 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

Loading…
Cancel
Save