mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
17 lines
293 B
JavaScript
17 lines
293 B
JavaScript
const express = require('express');
|
|
const api = require('./api');
|
|
const routes = express.Router();
|
|
|
|
routes.use('/v1', api);
|
|
|
|
// health checks
|
|
routes.get('/', (req, res) => {
|
|
res.sendStatus(200);
|
|
});
|
|
|
|
routes.get('/health', (req, res) => {
|
|
res.sendStatus(200);
|
|
});
|
|
|
|
module.exports = routes;
|