Skip to content
Snippets Groups Projects
Unverified Commit 97539b6a authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix host check on healthcheck path not being disabled (#16270)

Fixes #16251

There was a typo in #16243
parent d137d2ab
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment