Skip to content

Commit

Permalink
Merge pull request #60 from DevendraPPatil/release-2.0-dev
Browse files Browse the repository at this point in the history
Fix:Health api added
  • Loading branch information
sudeeppr1998 authored Nov 12, 2024
2 parents 1f4dde3 + e057189 commit b6c93e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ export class AppController {
getHello(): string {
return this.appService.getHello();
}

// Health check endpoint
@Get('/ping')
checkHealth(): { status: boolean; message: string } {
return {
status: true,
message: 'content ServiceApp is working',
};
}
}

0 comments on commit b6c93e1

Please sign in to comment.