multy-stub/server/routers/dogsitters-finder/index.js

10 lines
211 B
JavaScript
Raw Normal View History

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