Compare commits
2 Commits
6651215eeb
...
8fc85a7de8
Author | SHA1 | Date | |
---|---|---|---|
8fc85a7de8 | |||
|
cb8b2cc5aa |
@ -1,15 +1,15 @@
|
||||
const router = require('express').Router();
|
||||
|
||||
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)=>{
|
||||
res.send(require('../json/userpage-data/success.json'))
|
||||
})
|
||||
res.send(require('./json/userpage-data/success.json'));
|
||||
});
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user