From e0556bfe88515301310e2fa07b0025f045ea3f57 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Tue, 8 Oct 2024 19:07:30 +0200 Subject: [PATCH] Add default health check endpoint (#986) --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 1954bf42..980c7928 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,6 +3,8 @@ Rails.application.routes.draw do # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html + get 'up' => 'rails/health#show', as: :rails_health_check + root 'pages#home' get :hello_world, to: 'pages#hello_world' end