@@ -1,7 +1,7 @@
 C2::Application.configure do
   config.action_mailer.preview_path = "#{Rails.root}/lib/mail_previews"
   config.action_mailer.register_preview_interceptor :css_inline_styler
-  config.action_mailer.asset_host = "http://localhost:5000"
+  config.action_mailer.asset_host = ENV['LOCAL_SERVER']
   config.action_controller.perform_caching = false
   config.action_mailer.delivery_method = :letter_opener_web
   config.active_record.migration_error = :page_load
C2::Application.configure do
  config.action_mailer.preview_path = "#{Rails.root}/lib/mail_previews"
  config.action_mailer.register_preview_interceptor :css_inline_styler
  config.action_mailer.asset_host = "http://localhost:5000"
  config.action_controller.perform_caching = false
  config.action_mailer.delivery_method = :letter_opener_web
  config.active_record.migration_error = :page_load
  config.active_support.deprecation = :log
  config.assets.debug = true
  config.cache_classes = false
  config.consider_all_requests_local = true
  config.eager_load = false
end

can we set a default for this? see: `config/environments/production.rb`