Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-10-06 11:54:08 +02:00
parent f3463b176b
commit 2d3a5f09ab
18 changed files with 47 additions and 32 deletions
@@ -33,7 +33,7 @@ export async function createRouter(
router.get('/health', (_, response) => {
logger.info('PONG!');
response.send({ status: 'ok' });
response.json({ status: 'ok' });
});
router.use(errorHandler());
return router;