]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/development.rb
Disable host validation in development mode
[rails.git] / config / environments / development.rb
index e54e3bf06a18a988faa6dd7dddd2c8d9edce5cd8..14bf9b54d800e89624e9f062212d7bd6c11f2c45 100644 (file)
@@ -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