mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 10:28:00 +00:00
Revert "misc: added health and ready probe endpoints"
This commit is contained in:
@@ -8,7 +8,7 @@ import path from "path";
|
||||
import { seedData1 } from "@app/db/seed-data";
|
||||
import { getDatabaseCredentials, getHsmConfig, initEnvConfig } from "@app/lib/config/env";
|
||||
import { initLogger } from "@app/lib/logger";
|
||||
import { main, markServerReady } from "@app/server/app";
|
||||
import { main } from "@app/server/app";
|
||||
import { AuthMethod, AuthTokenType } from "@app/services/auth/auth-type";
|
||||
|
||||
import { mockSmtpServer } from "./mocks/smtp";
|
||||
@@ -83,7 +83,7 @@ export default {
|
||||
|
||||
await queue.initialize();
|
||||
|
||||
const { server, completeServerInitialization } = await main({
|
||||
const server = await main({
|
||||
db,
|
||||
smtp,
|
||||
logger,
|
||||
@@ -96,10 +96,6 @@ export default {
|
||||
envConfig: envCfg
|
||||
});
|
||||
|
||||
await completeServerInitialization();
|
||||
|
||||
markServerReady();
|
||||
|
||||
await bootstrapCheck({ db });
|
||||
|
||||
// @ts-expect-error type
|
||||
|
||||
Reference in New Issue
Block a user