diff --git a/docker-compose.yaml b/docker-compose.yaml index d88fc68..845cf5a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,13 +1,13 @@ version: "3" volumes: - ms_volume: + ms_volume8: services: mongoDb: image: mongo:8.0.3 volumes: - - ms_volume:/data/db + - ms_volume8:/data/db restart: always # ports: # - 27017:27017 diff --git a/server/routers/dogsitters-finder/index.js b/server/routers/dogsitters-finder/index.js index a493987..29a1e54 100644 --- a/server/routers/dogsitters-finder/index.js +++ b/server/routers/dogsitters-finder/index.js @@ -1,7 +1,7 @@ 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) => { diff --git a/server/routers/dogsitters-finder/json/users.json b/server/routers/dogsitters-finder/json/users/users.json similarity index 100% rename from server/routers/dogsitters-finder/json/users.json rename to server/routers/dogsitters-finder/json/users/users.json