From ed5936ede7c7dae12d742c18ff9bce57198613d7 Mon Sep 17 00:00:00 2001 From: UndefinedPony Date: Tue, 31 Dec 2024 11:11:33 +0100 Subject: [PATCH] feat: add health endpoint for frontend app --- apps/dokploy/pages/api/health.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/dokploy/pages/api/health.ts diff --git a/apps/dokploy/pages/api/health.ts b/apps/dokploy/pages/api/health.ts new file mode 100644 index 000000000..9dc8101e5 --- /dev/null +++ b/apps/dokploy/pages/api/health.ts @@ -0,0 +1,8 @@ +import type { NextApiRequest, NextApiResponse } from "next"; + +export default async function handler( + req: NextApiRequest, + res: NextApiResponse, +) { + return res.status(200).json({ ok: true }); +}