X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3f0ec839af28e56eb94bc9507ab59df1e670e59f..3d83ff9296c47016abf2823a740ef7825eb9ccfc:/services/api/config/routes.rb diff --git a/services/api/config/routes.rb b/services/api/config/routes.rb index 87c4d91757..2e9d618986 100644 --- a/services/api/config/routes.rb +++ b/services/api/config/routes.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + Server::Application.routes.draw do themes_for_rails @@ -100,6 +104,8 @@ Server::Application.routes.draw do match '/static/login_failure', to: 'static#login_failure', as: :login_failure, via: [:get, :post] + match '/_health/ping', to: 'arvados/v1/healthcheck#ping', via: [:get] + # Send unroutable requests to an arbitrary controller # (ends up at ApplicationController#render_not_found) match '*a', to: 'static#render_not_found', via: [:get, :post, :put, :patch, :delete, :options]