From ff73133e05ec946acdb99358e92ce6a342aaa773 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 28 Dec 2024 11:42:22 +0100 Subject: [PATCH] Define a health endpoint for docker compose --- app/api/health/route.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/api/health/route.ts diff --git a/app/api/health/route.ts b/app/api/health/route.ts new file mode 100644 index 0000000..6a3d203 --- /dev/null +++ b/app/api/health/route.ts @@ -0,0 +1,5 @@ +import { NextResponse } from "next/server"; + +export function GET() { + return NextResponse.json({}); +} \ No newline at end of file