From 141e5e9d3abb601337b2004619507bcee4eaeffc Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 19 Aug 2016 16:55:07 -0500 Subject: [PATCH] update mailer default host config --- config/environments/production.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 67f55c6f..88e415a2 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -53,7 +53,8 @@ Rails.application.configure do # config.assets.precompile += %w( search.js ) # Disable delivery errors, bad email addresses will be ignored - # config.action_mailer.raise_delivery_errors = false + config.action_mailer.perform_deliveries = true + config.action_mailer.raise_delivery_errors = true # Enable threaded mode # config.threadsafe! @@ -63,7 +64,7 @@ Rails.application.configure do config.i18n.fallbacks = true # Devise default url options - config.action_mailer.default_url_options = { host: 'notebook.indentlabs.com', port: 80 } + config.action_mailer.default_url_options = { host: 'notebook.ai', port: 80 } # Send deprecation notices to registered listeners config.active_support.deprecation = :notify