From: Tom Hughes Date: Mon, 25 Nov 2019 12:45:39 +0000 (+0000) Subject: Disable host validation in development mode X-Git-Tag: live~2376 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/621780c9cf2e0e0098f27e9ffacd1f7f6789fa2f Disable host validation in development mode --- diff --git a/config/environments/development.rb b/config/environments/development.rb index e54e3bf06..14bf9b54d 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -62,4 +62,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 + + # Disable host validation. + config.hosts = [] end