From d1b8eb4ed35387a3e315bf311547ca8be3962a5b Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 1 Jul 2024 21:53:23 +0200 Subject: [PATCH] feat: add /health endpoint --- src/pages/api/health.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/pages/api/health.ts diff --git a/src/pages/api/health.ts b/src/pages/api/health.ts new file mode 100644 index 0000000..99966f8 --- /dev/null +++ b/src/pages/api/health.ts @@ -0,0 +1,6 @@ +export async function GET() { + return new Response(JSON.stringify({ + healthy: true, + }), + ) +}