mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
Refactor initialization code in Nginx/Index.ts
This commit is contained in:
parent
0f86812258
commit
441aef4823
@ -11,7 +11,6 @@ const APP_NAME: string = process.env['SERVICE_NAME'];
|
|||||||
|
|
||||||
const init: PromiseVoidFunction = async (): Promise<void> => {
|
const init: PromiseVoidFunction = async (): Promise<void> => {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const statusCheck: PromiseVoidFunction = async (): Promise<void> => {
|
const statusCheck: PromiseVoidFunction = async (): Promise<void> => {
|
||||||
return await InfrastructureStatus.checkStatus({
|
return await InfrastructureStatus.checkStatus({
|
||||||
checkClickhouseStatus: false,
|
checkClickhouseStatus: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user