manager-bh/server/routes/index.js

9 lines
208 B
JavaScript
Raw Normal View History

2024-11-04 18:47:17 +03:00
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;