Replace users.json to users/ folder

This commit is contained in:
Julya Shapaeva 2024-11-30 16:04:59 +03:00
parent d46841c21f
commit f7ac265e3b
2 changed files with 1 additions and 1 deletions

View File

@ -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) => {