about summary refs log tree commit diff stats
path: root/config/environments
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb1
-rw-r--r--config/environments/production.rb4
2 files changed, 4 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 8500f45..e683ebb 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb
@@ -37,6 +37,7 @@ Rails.application.configure do
37 config.active_storage.service = :local 37 config.active_storage.service = :local
38 38
39 # Don't care if the mailer can't send. 39 # Don't care if the mailer can't send.
40 config.action_mailer.default_url_options = { host: 'localhost:3000' }
40 config.action_mailer.raise_delivery_errors = false 41 config.action_mailer.raise_delivery_errors = false
41 42
42 config.action_mailer.perform_caching = false 43 config.action_mailer.perform_caching = false
diff --git a/config/environments/production.rb b/config/environments/production.rb index 182b74e..e814a66 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb
@@ -66,7 +66,9 @@ Rails.application.configure do
66 # Set this to true and configure the email server for immediate delivery to raise delivery errors. 66 # Set this to true and configure the email server for immediate delivery to raise delivery errors.
67 # config.action_mailer.raise_delivery_errors = false 67 # config.action_mailer.raise_delivery_errors = false
68 68
69 config.action_mailer.default_url_options = { host: 'feffernoo.se' } 69 config.action_mailer.default_url_options = { host: 'www.fourisland.com' }
70 config.action_mailer.delivery_method = :smtp
71 config.action_mailer.smtp_settings = Rails.application.config_for(:mail)[:smtp_settings]
70 72
71 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to 73 # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
72 # the I18n.default_locale when a translation cannot be found). 74 # the I18n.default_locale when a translation cannot be found).