add Api is working response
This commit is contained in:
parent
d90c7302e7
commit
4e113cf8b4
@ -10,4 +10,8 @@ router.use('/games', gameRouter);
|
|||||||
router.use('/movies', mediaRouter);
|
router.use('/movies', mediaRouter);
|
||||||
router.use('/series', mediaRouter);
|
router.use('/series', mediaRouter);
|
||||||
|
|
||||||
|
router.get('/', function (req, res, next) {
|
||||||
|
res.status(200).json({message: 'API is working'});
|
||||||
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
Loading…
x
Reference in New Issue
Block a user