Add healthcheck endpoint for web (#11770)
This commit is contained in:
parent
e445a8af64
commit
d7268befa8
6 changed files with 15 additions and 3 deletions
|
@ -10,6 +10,8 @@ Rails.application.routes.draw do
|
|||
|
||||
mount LetterOpenerWeb::Engine, at: 'letter_opener' if Rails.env.development?
|
||||
|
||||
health_check_routes
|
||||
|
||||
authenticate :user, lambda { |u| u.admin? } do
|
||||
mount Sidekiq::Web, at: 'sidekiq', as: :sidekiq
|
||||
mount PgHero::Engine, at: 'pghero', as: :pghero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue