dhs-testing stubs #7
@ -2,19 +2,19 @@ const { response } = require('express');
|
|||||||
const router = require('express').Router();
|
const router = require('express').Router();
|
||||||
|
|
||||||
router.get('/tests-data', (request, response) => {
|
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) => {
|
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) => {
|
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) => {
|
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) => {
|
router.post('/submit-enter', (request, response) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user
точно две точки нужно?