diff --git a/config/environments/development.rb b/config/environments/development.rb index 25309d5a..cb7ebb18 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -78,4 +78,6 @@ Rails.application.configure do # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. config.file_watcher = ActiveSupport::EventedFileUpdateChecker + + config.hosts = nil end diff --git a/config/environments/test.rb b/config/environments/test.rb index 3936b7d4..c5933fa7 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -57,4 +57,6 @@ Rails.application.configure do config.loadbalanced_configuration = false config.registration_method_default = config.registration_methods[:open] + + config.hosts = nil end