]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
fixed prod email settings
authorAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 01:07:25 +0000 (10:37 +0930)
committerAidan Cornelius-Bell <[email protected]>
Mon, 23 Sep 2024 01:07:25 +0000 (10:37 +0930)
config/environments/production.rb

index a2d4a9180d54fe7d003bb05d0884a2e737bea7fa..1dc8766445fb2af3730410bd2c5e93176cca7538 100644 (file)
@@ -84,13 +84,15 @@ Rails.application.configure do
     port:                 ENV['SMTP_PORT'],
     user_name:            ENV['SMTP_USERNAME'],
     password:             ENV['SMTP_PASSWORD'],
-    host:                 'acb.boo',
     authentication:       'plain',
     enable_starttls:      true
   }
   config.action_mailer.default_options = {
     from: "mind reader <[email protected]>"
   }
+  config.action_mailer.default_url_options = { 
+    host: 'acb.boo'
+  }
 
   # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
   # the I18n.default_locale when a translation cannot be found).