Change health check (#15988)
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
HealthCheck.setup do |config|
|
||||
config.uri = 'health'
|
||||
|
||||
config.standard_checks = %w(database migrations cache)
|
||||
config.full_checks = %w(database migrations cache)
|
||||
|
||||
config.include_error_in_response_body = false
|
||||
end
|
@ -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
|
||||
|
Reference in New Issue
Block a user