mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add healthcheck endpoint and task (#230)
This commit is contained in:
committed by
GitHub
parent
fbaed7f44e
commit
1af8687a22
@@ -56,4 +56,10 @@ Rails.application.routes.draw do
|
||||
get 'authentication'
|
||||
end
|
||||
end
|
||||
|
||||
# Healthcheck endpoint
|
||||
get '/health', to: proc {
|
||||
Tenant.first # to make sure db works
|
||||
[200, {}, ['success']]
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user