multy-stub/server/routers/my/index.js
nothingnowhere1 0a6d50cb60 stubs
2024-05-24 05:04:31 +03:00

12 lines
310 B
JavaScript

const router = require('express').Router();
router.get('/catalog-data', (request, response) => {
response.send(require('./json/catalog-data/success.json'))
})
router.get('/catalog-data', (request, response) => {
response.send(require('./json/item-data/newsuccess.json'))
})
module.exports = router;