dogsitter-finder #43
@ -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/users.json"))
|
||||||
})
|
})
|
||||||
|
|
||||||
router.post("/auth", (request, response) => {
|
router.post("/auth", (request, response) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user