diff --git a/config/routes.rb b/config/routes.rb index c1992f4b..9a7ee757 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,8 @@ Rails.application.routes.draw do + # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. + # Can be used by load balancers and uptime monitors to verify that the app is live. + get "up" => "rails/health#show", as: :rails_health_check + root "basic_search#index" get 'analyze', to: 'tacos#analyze'