|
|
@ -22,6 +22,7 @@ module.exports = (io, bot)=>
|
|
|
|
.post(dash.post(io));
|
|
|
|
.post(dash.post(io));
|
|
|
|
router.route('/getMessage').get(api.getMessage(bot));
|
|
|
|
router.route('/getMessage').get(api.getMessage(bot));
|
|
|
|
router.route('/leagues').get(api.getTournamentPage);
|
|
|
|
router.route('/leagues').get(api.getTournamentPage);
|
|
|
|
|
|
|
|
router.route('/dc').get(homeController.dc);
|
|
|
|
// This goes to electron
|
|
|
|
// This goes to electron
|
|
|
|
// router.route('/league/:league').get(api.getLeaguePage);
|
|
|
|
// router.route('/league/:league').get(api.getLeaguePage);
|
|
|
|
// router.route('/leagueListener').get(api.getTournamentListenerPage);
|
|
|
|
// router.route('/leagueListener').get(api.getTournamentListenerPage);
|
|
|
|