Skip to content

Commit

Permalink
Merge pull request #1880 from alphagov/add-memcached-healthcheck
Browse files Browse the repository at this point in the history
Add healthcheck for memcached
  • Loading branch information
benthorner authored Oct 15, 2020
2 parents 0bd1bba + 4034230 commit d529cf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

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

get "healthcheck", to: proc { [200, {}, [""]] }
get "/healthcheck",
to: GovukHealthcheck.rack_response(
GovukHealthcheck::RailsCache,
)

get "/government/uploads/*path" => "asset_manager_redirect#show", format: false

Expand Down

0 comments on commit d529cf3

Please sign in to comment.