about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-09-07 09:47:51 +0900
committermultiple creatures <dev@multiple-creature.party>2020-02-21 00:22:54 -0600
commitb9ed21b8f443d12ac3f8a62e536983e9cbf31d78 (patch)
tree1abcf19f4457d8ad300d2c770f904ea4811a2c77 /config/routes.rb
parent45e843d487cc3f8e0f352485caaa7a2abfae9832 (diff)
port tootsuite#11770 to monsterfork: Add healthcheck endpoint for web
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 26e5f3d09..b76b9f82e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -9,6 +9,8 @@ Sidekiq::Web.set :session_secret, Rails.application.secrets[:secret_key_base]
 Rails.application.routes.draw do
   mount LetterOpenerWeb::Engine, at: 'letter_opener' if Rails.env.development?
 
+  health_check_routes
+
   authenticate :user, lambda { |u| u.admin? } do
     mount Sidekiq::Web, at: 'sidekiq', as: :sidekiq
     mount PgHero::Engine, at: 'pghero', as: :pghero