Disable host validation in development mode

This commit is contained in:
Tom Hughes 2019-11-25 12:45:39 +00:00
parent c672a73de3
commit 621780c9cf

View 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