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:
commit
88e3fe4172
@ -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