Skip to content

Commit

Permalink
Enable rails health check in routes (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp authored May 17, 2024
1 parent 103ecc5 commit d753acc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
# rescan GET /api/rescans/:id(.:format) rescans#show
# POST /api/rescans/:id(.:format) rescans#start
# POST /api/rescans(.:format) rescans#start_all
# rails_health_check GET /api/up(.:format) rails/health#show
# rails_service_blob GET /rails/active_storage/blobs/redirect/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
# rails_service_blob_proxy GET /rails/active_storage/blobs/proxy/:signed_id/*filename(.:format) active_storage/blobs/proxy#show
# GET /rails/active_storage/blobs/:signed_id/*filename(.:format) active_storage/blobs/redirect#show
Expand Down Expand Up @@ -173,5 +174,7 @@
resources :rescans, only: %i[index show]
post 'rescans/:id', to: 'rescans#start'
post 'rescans', to: 'rescans#start_all'

get 'up', to: 'rails/health#show', as: :rails_health_check
end
end

0 comments on commit d753acc

Please sign in to comment.