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",