Replace users.json to users/ folder
This commit is contained in:
parent
d46841c21f
commit
f7ac265e3b
@ -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/users.json"))
|
||||
})
|
||||
|
||||
router.post("/auth", (request, response) => {
|
||||
|
Loading…
Reference in New Issue
Block a user