added healthcheck

This commit is contained in:
2023-12-03 16:59:01 +01:00
parent 4cd0396c95
commit 286c29ce44
3 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class ManifestController < ApplicationController
unloadable
skip_before_action :check_if_login_required
def index
render :layout => false, :action => 'index'
end
end

View File

@@ -0,0 +1 @@
OK

View File

@@ -1,5 +1,6 @@
if Redmine::Plugin.installed? :baupm_core
RedmineApp::Application.routes.draw do
get '/manifest.json', :controller => 'manifest', :action => 'index', :as => 'manifest_json'
get '/_healthcheck', :controller => 'healthcheck', :action => 'index', :as => 'healthcheck'
end
end