From b188b0cec2bb4002e18813fc3dc0c41ac009a478 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 9 Dec 2021 09:59:42 +0000 Subject: [PATCH] Don't add port to url on gov paas --- config/environments/production.rb | 2 +- config/environments/sandbox.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 513645019..175c0d9a3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -58,7 +58,7 @@ Rails.application.configure do config.action_mailer.perform_caching = false - config.action_mailer.default_url_options = { host: ENV["APP_HOST"], port: 3000 } + config.action_mailer.default_url_options = { host: ENV["APP_HOST"] } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: "smtp.gmail.com", diff --git a/config/environments/sandbox.rb b/config/environments/sandbox.rb index 513645019..175c0d9a3 100644 --- a/config/environments/sandbox.rb +++ b/config/environments/sandbox.rb @@ -58,7 +58,7 @@ Rails.application.configure do config.action_mailer.perform_caching = false - config.action_mailer.default_url_options = { host: ENV["APP_HOST"], port: 3000 } + config.action_mailer.default_url_options = { host: ENV["APP_HOST"] } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: "smtp.gmail.com",