Compare commits
No commits in common. "8fc85a7de8baa808fd35277b45d8b7fe554fdfc9" and "6651215eeb6aadc4f101cff4278fc3f55ed24cc1" have entirely different histories.
8fc85a7de8
...
6651215eeb
@ -1,15 +1,15 @@
|
|||||||
const router = require('express').Router();
|
const router = require('express').Router();
|
||||||
|
|
||||||
router.get('/recipe-data', (request, response) => {
|
router.get('/recipe-data', (request, response) => {
|
||||||
response.send(require('./json/recipe-data/success.json'));
|
response.send(require('../json/recipe-data/success.json'))
|
||||||
});
|
})
|
||||||
|
|
||||||
router.get('/userpage-data', (req, res)=>{
|
router.get('/userpage-data', (req, res)=>{
|
||||||
res.send(require('./json/userpage-data/success.json'));
|
res.send(require('../json/userpage-data/success.json'))
|
||||||
});
|
})
|
||||||
|
|
||||||
router.get('/homepage-data', (req, res)=>{
|
router.get('/homepage-data', (req, res)=>{
|
||||||
res.send(require('./json/homepage-data/success.json'));
|
res.send(require('../json/homepage-data/success.json'))
|
||||||
});
|
})
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
Loading…
Reference in New Issue
Block a user