Skip to content

Commit

Permalink
Adds DOCTYPE html to the response from up on the HealthController
Browse files Browse the repository at this point in the history
  • Loading branch information
mohits committed Oct 7, 2023
1 parent 7f7f9df commit 1040355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/health_controller.rb
Expand Up @@ -49,7 +49,7 @@ def render_down
end

def html_status(color:)
%(<html><body style="background-color: #{color}"></body></html>).html_safe
%(<!DOCTYPE html><html><body style="background-color: #{color}"></body></html>).html_safe
end
end
end

0 comments on commit 1040355

Please sign in to comment.