add-dogsitters-finder #6
@ -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