Add stubs kazan-explore

This commit is contained in:
Kamila Nazirova 2024-06-01 20:32:45 +03:00
parent 07a02ade1f
commit 21dcc8bbec

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