mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add status ok
This commit is contained in:
parent
fecffac573
commit
e32afde973
@ -600,9 +600,8 @@ export const settingsRouter = createTRPCRouter({
|
|||||||
health: publicProcedure.query(async () => {
|
health: publicProcedure.query(async () => {
|
||||||
if (IS_CLOUD) {
|
if (IS_CLOUD) {
|
||||||
try {
|
try {
|
||||||
// await db.execute(sql`SELECT 1`);
|
await db.execute(sql`SELECT 1`);
|
||||||
// return { status: "ok" };
|
return { status: "ok" };
|
||||||
throw new Error("Not implemented");
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Database connection error:", error);
|
console.error("Database connection error:", error);
|
||||||
throw error;
|
throw error;
|
||||||
|
Loading…
Reference in New Issue
Block a user