Skip to content

Commit 75b24dc

Browse files
committed
✨ 헬스 체크 API 구현
1 parent 41f13bb commit 75b24dc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/app/health/route.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { NextResponse } from "next/server";
2+
3+
export const dynamic = "force-dynamic";
4+
5+
export function GET() {
6+
return NextResponse.json(
7+
{
8+
status: "ok",
9+
message: "Health check successful.",
10+
timestamp: new Date().toISOString(),
11+
},
12+
{
13+
status: 200,
14+
}
15+
);
16+
}

0 commit comments

Comments
 (0)