ecliptica/server/routers/edateam/index.js

16 lines
404 B
JavaScript
Raw Normal View History

2024-05-19 03:01:32 +03:00
const router = require('express').Router();
router.get('/recipe-data', (request, response) => {
response.send(require('./json/recipe-data/success.json'));
});
2024-05-19 03:01:32 +03:00
router.get('/userpage-data', (req, res)=>{
res.send(require('./json/userpage-data/success.json'));
});
2024-05-19 03:01:32 +03:00
router.get('/homepage-data', (req, res)=>{
res.send(require('./json/homepage-data/success.json'));
});
2024-05-19 03:01:32 +03:00
module.exports = router;