Add ping/pong health check

This commit is contained in:
Sebastian Serth
2021-10-09 23:28:31 +02:00
parent 6a255ced5b
commit bb4b4ece92
4 changed files with 46 additions and 0 deletions

View File

@ -159,6 +159,8 @@ Rails.application.routes.draw do
post '/evaluate', to: 'remote_evaluation#evaluate', via: [:post]
post '/submit', to: 'remote_evaluation#submit', via: [:post]
resources :ping, only: :index, defaults: {format: :json}
mount ActionCable.server => '/cable'
mount RailsAdmin::Engine => '/rails_admin', as: 'rails_admin'
end