diff options
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/1_hosts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/1_hosts.rb b/config/initializers/1_hosts.rb index f470fddb3..6ff0845c4 100644 --- a/config/initializers/1_hosts.rb +++ b/config/initializers/1_hosts.rb @@ -31,6 +31,6 @@ Rails.application.configure do config.hosts << host if host.present? config.hosts << web_host if web_host.present? config.hosts.concat(alternate_domains) if alternate_domains.present? - config.hosts_authorization = { exclude: ->(request) { request.path == '/health' } } + config.host_authorization = { exclude: ->(request) { request.path == '/health' } } end end |