File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ class Application < Rails::Application
5151 config . cache_store = ENV [ "CACHE_STORE" ] . to_sym
5252 config . active_storage . service = ENV [ "ACTIVE_STORAGE_SERVICE" ] . to_sym
5353
54- config . action_mailer . default_url_options = { host : ENV [ "HOST_URL" ] }
5554 config . action_mailer . raise_delivery_errors = ENV [ "ACTION_MAILER_RAISE_DELIVERY_ERRORS" ] == "true"
5655 config . action_mailer . delivery_method = ENV [ "ACTION_MAILER_DELIVERY_METHOD" ] . to_sym
5756 config . action_mailer . smtp_settings = {
@@ -94,8 +93,6 @@ class Application < Rails::Application
9493 config . i18n . enforce_available_locales = ENV [ "I18N_ENFORCE_AVAILABLE_LOCALES" ] == "true"
9594 config . i18n . fallbacks = ENV [ "I18N_FALLBACKS" ] == "true"
9695
97- config . routes . default_url_options [ :host ] = JSON . parse ( ENV [ "DMPROADMAP_HOSTS" ] ) . first
98-
9996 if ENV [ "RAILS_LOG_TO_STDOUT" ] == "true"
10097 logger = ActiveSupport ::Logger . new ( $stdout)
10198 logger . formatter = config . log_formatter
Original file line number Diff line number Diff line change 1+ Rails . application . routes . default_url_options [ :host ] = ENV [ "DMPROADMAP_HOSTS" ] . split ( "," ) . first
2+
3+ Rails . application . config . action_mailer . default_url_options = { host : ENV [ "HOST_URL" ] }
You can’t perform that action at this time.
0 commit comments