* feat: add webhook endpoint for Vercel deployment promoted event to promote trigger.dev Co-Authored-By: morgan@cal.com <morgan@cal.com> * refactor: rename TRIGGER_API_KEY to TRIGGER_SECRET_KEY Co-Authored-By: morgan@cal.com <morgan@cal.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
import { Controller, Get, VERSION_NEUTRAL, Version } from "@nestjs/common";
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
@Get("health")
|
|
@Version(VERSION_NEUTRAL)
|
|
getHealth(): "OK" {
|
|
return "OK";
|
|
}
|
|
}
|