9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
|
const router = require('express').Router();
|
||
|
const pkg = require('../../package.json')
|
||
|
|
||
|
router.get('/healthcheck', (req, res) => {
|
||
|
res.send({ ok: true, version: pkg.version })
|
||
|
})
|
||
|
|
||
|
module.exports = router;
|