From e449769f39750f8457716e46e7ef4f701fac4b8b Mon Sep 17 00:00:00 2001 From: Natfan Date: Thu, 6 Mar 2025 00:52:02 +0000 Subject: [PATCH] fixed health endpoint --- src/app/api/health.ts | 3 --- src/app/api/health/route.ts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 src/app/api/health.ts create mode 100644 src/app/api/health/route.ts diff --git a/src/app/api/health.ts b/src/app/api/health.ts deleted file mode 100644 index 70bd31e..0000000 --- a/src/app/api/health.ts +++ /dev/null @@ -1,3 +0,0 @@ -export async function GET() { - return new Response("OK", { status: 200 }); -} diff --git a/src/app/api/health/route.ts b/src/app/api/health/route.ts new file mode 100644 index 0000000..777d025 --- /dev/null +++ b/src/app/api/health/route.ts @@ -0,0 +1 @@ +export const GET = () => new Response("OK");