Skip to content

Commit 5d6e3df

Browse files
committed
Converts asset_host to an ENV variable
1 parent 411f4e4 commit 5d6e3df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
3333

3434
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
35-
config.action_controller.asset_host = 'https://staging.brickhack.io'
35+
config.action_controller.asset_host = ENV['ASSET_HOST']
3636

3737
# Specifies the header that your server uses for sending files.
3838
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache

0 commit comments

Comments
 (0)