added healthcheck

This commit is contained in:
magdev committed 2023-12-03 16:59:01 +01:00
1 parent 4cd0396c95
commit 286c29ce44
3 files changed
+11

No files matched your search

@@ -0,0 +1,9 @@
class ManifestController < ApplicationController
unloadable
skip_before_action :check_if_login_required
def index
render :layout => false, :action => 'index'
end
end
+1
View File
@@ -0,0 +1 @@
OK
+1
View File
@@ -1,5 +1,6 @@
if Redmine::Plugin.installed? :baupm_core if Redmine::Plugin.installed? :baupm_core
RedmineApp::Application.routes.draw do RedmineApp::Application.routes.draw do
get '/manifest.json', :controller => 'manifest', :action => 'index', :as => 'manifest_json' get '/manifest.json', :controller => 'manifest', :action => 'index', :as => 'manifest_json'
get '/_healthcheck', :controller => 'healthcheck', :action => 'index', :as => 'healthcheck'
end end
end end