Skip to content

Commit 2c4457a

Browse files
authored
Add healthcheck endpoint. (#254)
1 parent 0bed553 commit 2c4457a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/routes.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# frozen_string_literal: true
22

33
Rails.application.routes.draw do
4+
get "/healthz" => "rails/health#show", as: :rails_health_check
5+
46
if Rails.env.development? or Rails.env.test?
57
mount GraphiQL::Rails::Engine, at: '/graphiql', graphql_path: '/graphql'
68
end

0 commit comments

Comments
 (0)