GRN2-xx: Bypass SAFE_HOSTS on dev and test environments

This commit is contained in:
jfederico 2020-05-08 15:38:02 -04:00
parent 891a32a15c
commit 6104b3d713
2 changed files with 4 additions and 0 deletions

View File

@ -78,4 +78,6 @@ 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
config.hosts = nil
end

View File

@ -57,4 +57,6 @@ Rails.application.configure do
config.loadbalanced_configuration = false
config.registration_method_default = config.registration_methods[:open]
config.hosts = nil
end