diff --git a/config/environments/development.rb b/config/environments/development.rb index c2434c8c..bf96e5b2 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -75,6 +75,7 @@ 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 += ENV["EXTRA_HOSTS"].split(':') if ENV["EXTRA_HOSTS"].present? end # For better_errors to work inside Docker we need