Skip to content

Commit

Permalink
Add default health check endpoint (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala authored Oct 8, 2024
1 parent 146d893 commit e0556bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e0556bf

Please sign in to comment.