From f81999241f272abf87a989ba1440d86441bc831c Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Mon, 14 Nov 2022 01:30:09 -0800 Subject: [PATCH] health check API route --- client/pages/api/health.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 client/pages/api/health.ts diff --git a/client/pages/api/health.ts b/client/pages/api/health.ts new file mode 100644 index 00000000..efd4dbf8 --- /dev/null +++ b/client/pages/api/health.ts @@ -0,0 +1,9 @@ +import { NextApiRequest, NextApiResponse } from "next" + +const handler = async (_: NextApiRequest, res: NextApiResponse) => { + return res.json({ + status: "UP" + }) +} + +export default handler