Skip to content

Commit f1c4ab4

Browse files
committed
feat: add HEAD method to reissue API for health check response
1 parent 72747e4 commit f1c4ab4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/ticket/src/app/api/reissue/route.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { NextResponse } from "next/server";
33

44
import { API_URL } from "@/data/constants";
55

6+
export async function HEAD() {
7+
return new Response(null, { status: 200 });
8+
}
9+
610
/**
711
* vercel Lambda 깨우기 용 ping API (5분 주기로 호출)
812
* 브라우저에서 주기적으로 호출하여 Lambda 깨우기 (Cold Start 방지)

0 commit comments

Comments
 (0)