Merge pull request 'Add stubs kazan-explore' (#18) from stubs-kazan-explore into master

Reviewed-on: https://git.inno-js.ru/bro-students/multy-stub/pulls/18
This commit is contained in:
Kamila 2024-06-01 20:34:05 +03:00
commit 88e3fe4172

View File

@ -3,11 +3,11 @@ const router = require('express').Router();
// First page
router.get('/getInfoAboutKazan', (request, response) => {
response.send(require('../json/first/info-about-kazan/success.json'))
response.send(require('./json/first/info-about-kazan/success.json'))
})
router.get('/getNews', (request, response) => {
response.send(require('../json/first/news/success.json'))
response.send(require('./json/first/news/success.json'))
})
// Sport page
@ -42,7 +42,7 @@ router.get('/getTripSchedule', (request, response) => {
})
router.get('/getInfoAboutInstitutions', (request, response) => {
response.send(require('../json/transport/info-about-institutions.json'))
response.send(require('./json/transport/info-about-institutions.json'))
})
// Education page