forked from bro-students/multy-stub
10 lines
211 B
JavaScript
10 lines
211 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;
|