From 621780c9cf2e0e0098f27e9ffacd1f7f6789fa2f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 25 Nov 2019 12:45:39 +0000 Subject: [PATCH] Disable host validation in development mode --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5