From c95a00fb19f09e75d8711b2f6266bc2b48bbb24d Mon Sep 17 00:00:00 2001 From: dqriakh Date: Thu, 30 May 2024 18:29:26 +0300 Subject: [PATCH] fixed json --- server/routers/dhs-testing/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/routers/dhs-testing/index.js b/server/routers/dhs-testing/index.js index 645633a..40a93f8 100644 --- a/server/routers/dhs-testing/index.js +++ b/server/routers/dhs-testing/index.js @@ -2,19 +2,19 @@ const { response } = require('express'); const router = require('express').Router(); router.get('/tests-data', (request, response) => { - response.send(require('../json/tests-data/success.json')) + response.send(require('./json/tests-data/success.json')) }) router.get("/users-data", (request, response) => { - response.send(require("../json/users-data/success.json")) + response.send(require("./json/users-data/success.json")) }) router.get('/results-data', (request, response) => { - response.send(require('../json/results-data/results.json')) + response.send(require('./json/results-data/results.json')) }) router.get('/records-data', (request, response) => { - response.send(require('../json/records-data/records.json')) + response.send(require('./json/records-data/records.json')) }) router.post('/submit-enter', (request, response) => {