Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-05-18 09:40:17 +02:00
6 changed files with 12 additions and 12 deletions

View File

@@ -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