Skip to content

Commit

Permalink
use SITE_HOST for hosts allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewroth committed Dec 12, 2024
1 parent d3c4e69 commit 85a7275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@
# ]
# Skip DNS rebinding protection for the default health check endpoint.
config.host_authorization = {exclude: ->(request) { request.path == "/monitors/lb" }}
config.hosts << ENV.fetch("SITE_URL")
config.hosts << ENV.fetch("SITE_HOST")
end

0 comments on commit 85a7275

Please sign in to comment.