forked from bro-students/multy-stub
12 lines
310 B
JavaScript
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;
|