forked from bro-students/multy-stub
Change path to json
This commit is contained in:
parent
086c94c58a
commit
fb868bfefc
@ -3,7 +3,7 @@ const { response } = require('express');
|
|||||||
const router = require('express').Router();
|
const router = require('express').Router();
|
||||||
|
|
||||||
router.get("/users", (request, response) => {
|
router.get("/users", (request, response) => {
|
||||||
response.send(require("../json/users.json"))
|
response.send(require("./json/users.json"))
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
Loading…
Reference in New Issue
Block a user