Skip to content

Commit 281a00a

Browse files
committed
Always separate config blocks with a CR
1 parent 1977c34 commit 281a00a

File tree

1 file changed

+1
-0
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+1
-0
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Rails.application.configure do
124124
# "example.com", # Allow requests from example.com
125125
# /.*\.example\.com/ # Allow requests from subdomains like `www.example.com`
126126
# ]
127+
#
127128
# Skip DNS rebinding protection for the default health check endpoint.
128129
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
129130
end

0 commit comments

Comments
 (0)