Initialize PROMPT environment and ces-control deployment pipeline
PROMPT CI and deployment / verify-and-deploy (push) Successful in 3m53s
PROMPT CI and deployment / verify-and-deploy (push) Successful in 3m53s
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export function healthResponse(method: string | undefined, release = "development") {
|
||||
if (method !== "GET" && method !== "HEAD") {
|
||||
return { statusCode: 405, body: { error: "Method not allowed" } };
|
||||
}
|
||||
return { statusCode: 200, body: { status: "ok", service: "prompt", release } };
|
||||
}
|
||||
Reference in New Issue
Block a user