Skip to content

Commit

Permalink
Remove legacy /healthcheck route
Browse files Browse the repository at this point in the history
govuk-puppet and govuk-aws have now been updated to only use the new
routes, so the old one is no longer needed.

See RFC 141 for more information.
  • Loading branch information
barrucadu committed Apr 26, 2021
1 parent 074dd1a commit ba8a06f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

mount GovukPublishingComponents::Engine, at: "/component-guide"

get "/healthcheck",
to: GovukHealthcheck.rack_response(
GovukHealthcheck::RailsCache,
)

get "/healthcheck/live", to: proc { [200, {}, %w[OK]] }
get "/healthcheck/ready", to: GovukHealthcheck.rack_response(
GovukHealthcheck::RailsCache,
Expand Down

0 comments on commit ba8a06f

Please sign in to comment.