forked from bro-students/multy-stub
Merge branch 'master' of ssh://85.143.175.152:222/bro-students/multy-stub
This commit is contained in:
commit
4d5cd104ad
@ -1,13 +1,13 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ms_volume:
|
ms_volume8:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mongoDb:
|
mongoDb:
|
||||||
image: mongo:8.0.3
|
image: mongo:8.0.3
|
||||||
volumes:
|
volumes:
|
||||||
- ms_volume:/data/db
|
- ms_volume8:/data/db
|
||||||
restart: always
|
restart: always
|
||||||
# ports:
|
# ports:
|
||||||
# - 27017:27017
|
# - 27017:27017
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
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