From 2750f5ad303055a238bf1ab5aa3ff8669d054728 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 29 Aug 2024 06:24:22 -0400 Subject: Don't configure action mailer, since it's not installed --- config/environments/development.rb | 3 ++- config/environments/production.rb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/environments/development.rb b/config/environments/development.rb index f12eac5..d4558db 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -67,7 +67,8 @@ Rails.application.configure do # Raise error when a before_action's only/except options reference missing actions config.action_controller.raise_on_missing_callback_actions = true - config.action_mailer.default_url_options = {host: "localhost", port: 3000} + # Enable this if I install action mailer. + # config.action_mailer.default_url_options = {host: "localhost", port: 3000} # Bullet config. config.after_initialize do diff --git a/config/environments/production.rb b/config/environments/production.rb index 4cb1f3d..7c57e77 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -75,7 +75,8 @@ Rails.application.configure do # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false - config.action_mailer.default_url_options = {host: "dmn.aikuro.net", port: 3000} + # Enable this if I install action mailer. + # config.action_mailer.default_url_options = {host: "dmn.aikuro.net", port: 3000} # Enable DNS rebinding protection and other `Host` header attacks. # config.hosts = [ -- cgit v1.2.3