Skip to content

Commit 4e20c68

Browse files
committed
feat: Add status endpoint to use it for health checks
1 parent 64acc04 commit 4e20c68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = function (fastify, opts, cb) {
3232
}
3333

3434
fastify.get('/', (req, rep) => keys.get(getParams))
35+
fastify.get('/status', (req, rep) => rep.code(204).send())
3536

3637
cb()
3738
}

0 commit comments

Comments
 (0)