Skip to content

Commit

Permalink
Merge pull request alphagov#1850 from alphagov/msw/rfc-141
Browse files Browse the repository at this point in the history
Add RFC 141 healthcheck endpoints
  • Loading branch information
barrucadu authored Apr 19, 2021
2 parents 26b7a76 + 065e532 commit d5cd916
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
)

get "/rebuild-healthcheck", to: proc { [200, {}, %w[OK]] }

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

post "/preview", to: "govspeak#preview"
get "/error", to: "passthrough#error"

Expand Down

0 comments on commit d5cd916

Please sign in to comment.