Skip to content

Commit

Permalink
Merge pull request #1591 from 18F/mb-default-urls
Browse files Browse the repository at this point in the history
Set default URL options
  • Loading branch information
monfresh authored Aug 7, 2017
2 parents 7ca0230 + 995795f commit 0d3b557
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Rails.application.configure do
config.cache_classes = true
config.eager_load = true
config.consider_all_requests_local = false
config.consider_all_requests_local = false
config.action_controller.asset_host = Figaro.env.domain_name
config.action_controller.default_url_options = { host: Figaro.env.domain_name }
config.action_controller.perform_caching = true
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.assets.js_compressor = :uglifier
Expand Down

0 comments on commit 0d3b557

Please sign in to comment.