10 lines
210 B
JavaScript
10 lines
210 B
JavaScript
const { response } = require('express');
|
|
|
|
const router = require('express').Router();
|
|
|
|
router.get("/users", (request, response) => {
|
|
response.send(require("./json/users.json"))
|
|
})
|
|
|
|
module.exports = router;
|