Skip to content

Commit 902ac27

Browse files
Added health route
1 parent 0395fae commit 902ac27

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/routes/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ const versionPromise = new Promise<string | null>((resolve, reject) => {
5454
return null;
5555
});
5656

57+
router.use('/health',
58+
(_req: Request, _res: Response, next: NextFunction) => {
59+
next(httpResponse.Ok());
60+
});
61+
5762
router.use('/version',
5863
async (_req: Request, _res: Response, next: NextFunction) => {
5964
try {

0 commit comments

Comments
 (0)