Skip to content
Browse files

Default response missing open HTML tag.

  • Loading branch information...
1 parent 0a7e6f2 commit 3a6e0c6b66a881128c2bc81480b4402d10436583 @weppos weppos committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/maintenance.rb
View
2 lib/rack/maintenance.rb
@@ -3,7 +3,7 @@ class Maintenance
DEFAULT_RESPONSE = [
422,
{ "Content-Type" => "text/html" },
- "<body><h2>We are undergoing maintenance right now, please try again later.</h2></body></html>"
+ "<html><body><h2>We are undergoing maintenance right now, please try again later.</h2></body></html>"
]
def initialize(app, maintenance_response=DEFAULT_RESPONSE)

0 comments on commit 3a6e0c6

Please sign in to comment.
Something went wrong with that request. Please try again.