diff options
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 3 | ||||
-rw-r--r-- | config/environments/production.rb | 3 |
2 files changed, 4 insertions, 2 deletions
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 = [ |