Skip to content

Commit

Permalink
Add health check route
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntaf committed Jul 19, 2024
1 parent 3563aa4 commit 06c7621
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 @@ -32,5 +32,7 @@
get '/', action: :index
end

get '/health_check', to: proc { [200, {}, ['success']] }

root :to => redirect('redrock')
end

0 comments on commit 06c7621

Please sign in to comment.