2022-11-27 16:34:37 +03:00
|
|
|
const router = require('express').Router();
|
|
|
|
|
2024-02-13 21:09:49 +03:00
|
|
|
router.get('/check', function (req, res){
|
|
|
|
res.send({ ok: true })
|
|
|
|
})
|
|
|
|
|
2024-02-28 23:43:36 +03:00
|
|
|
router.get('/lesson/list', (req, res) => {
|
|
|
|
res.send(require('../mocks/lessons/list/success.json'))
|
|
|
|
})
|
|
|
|
|
2022-11-27 16:34:37 +03:00
|
|
|
module.exports = router;
|