Rename the unified application to dashboard
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