From df3074679283d74d1af459419805b8b31f7a7d40 Mon Sep 17 00:00:00 2001 From: Denovo Date: Thu, 9 May 2024 20:17:04 +0900 Subject: [PATCH] feat: helth check --- src/app.controller.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.controller.ts b/src/app.controller.ts index cce879e..f33754a 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -9,4 +9,9 @@ export class AppController { getHello(): string { return this.appService.getHello(); } + + @Get('/health') + health() { + return { status: 'ok' }; + } }