mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix host check on healthcheck path not being disabled (#16270)
Fixes #16251 There was a typo in #16243
This commit is contained in:
parent
d137d2ab87
commit
97539b6a96
@ -31,6 +31,6 @@ Rails.application.configure do
|
|||||||
config.hosts << host if host.present?
|
config.hosts << host if host.present?
|
||||||
config.hosts << web_host if web_host.present?
|
config.hosts << web_host if web_host.present?
|
||||||
config.hosts.concat(alternate_domains) if alternate_domains.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
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user