feat: add health check page (#244)
This commit is contained in:
10
backend/routes/health/index.js
Normal file
10
backend/routes/health/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const express = require('express');
|
||||
const router = express.Router();
|
||||
|
||||
module.exports = function () {
|
||||
router.get('/', async (req, res) => {
|
||||
res.json({ status: 'ok' });
|
||||
});
|
||||
|
||||
return router;
|
||||
};
|
||||
Reference in New Issue
Block a user