Add option to output the cheapest flight only by Hopper (#484)

This commit is contained in:
Henry Wang
2018-08-18 13:11:03 +01:00
committed by DIYgod
parent e415a465d2
commit 3543e4c47c
4 changed files with 71 additions and 37 deletions

View File

@@ -422,6 +422,6 @@ router.get('/appstore/update/:country/:id', require('./routes/appstore/update'))
router.get('/appstore/price/:country/:type/:id', require('./routes/appstore/price'));
// Hopper
router.get('/hopper/:from/:to?', require('./routes/hopper/index'));
router.get('/hopper/:lowestOnly/:from/:to?', require('./routes/hopper/index'));
module.exports = router;