Change path to json

This commit is contained in:
Julya Shapaeva 2024-05-26 16:29:12 +03:00
parent 086c94c58a
commit fb868bfefc

View File

@ -3,7 +3,7 @@ const { response } = require('express');
const router = require('express').Router();
router.get("/users", (request, response) => {
response.send(require("../json/users.json"))
response.send(require("./json/users.json"))
})
module.exports = router;