forked from bro-students/multy-stub
Add stubs kazan-explore
This commit is contained in:
parent
07a02ade1f
commit
21dcc8bbec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user