Skip to content

Commit

Permalink
Next: add healthCheck path for CDN probePath
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Jan 20, 2024
1 parent 9c50fb3 commit a6976d4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions apps/web/src/app/next_api/health/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";
// this is here for CDN probePath
export function GET(_: NextRequest): NextResponse {
return NextResponse.json(
{
status: "ok",
},
{
status: 200,
},
);
}

0 comments on commit a6976d4

Please sign in to comment.