X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/22cd2314e52373d8fbe84a082c3ed058dfea8d40..b70da7b8ea15ab48bb2f34155567cea6dffc8fc9:/config/environments/development.rb diff --git a/config/environments/development.rb b/config/environments/development.rb index e54e3bf06..778e629eb 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -14,7 +14,7 @@ Rails.application.configure do # Enable/disable caching. By default caching is disabled. # Run rails dev:cache to toggle caching. - if Rails.root.join("tmp", "caching-dev.txt").exist? + if Rails.root.join("tmp/caching-dev.txt").exist? config.action_controller.perform_caching = true config.action_controller.enable_fragment_cache_logging = true @@ -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