forked from bro-students/multy-stub
fixed json
This commit is contained in:
parent
95373069da
commit
c95a00fb19
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user