Skip to content

Commit

Permalink
use an ENV variable to controle the CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Aug 31, 2024
1 parent 9e693fa commit 46453cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.asset_host = "http://assets.example.com"
config.action_controller.asset_host = 'https://d1bqx47vp6rlu8.cloudfront.net'
config.action_controller.asset_host = ENV['CDN_ASSET_HOST']

config.assets.compile = false

Expand Down

0 comments on commit 46453cb

Please sign in to comment.