0
0
Fork 0

Change health check (#15988)

This commit is contained in:
Eugen Rochko 2021-04-03 02:39:04 +02:00 committed by GitHub
parent abad99fa10
commit 82cce18227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 19 deletions

View file

@ -10,7 +10,7 @@ Rails.application.routes.draw do
mount LetterOpenerWeb::Engine, at: 'letter_opener' if Rails.env.development?
health_check_routes
get 'health', to: 'health#show'
authenticate :user, lambda { |u| u.admin? } do
mount Sidekiq::Web, at: 'sidekiq', as: :sidekiq