clear routes for league torunament as it will go into a different project

master
Cristiano Pires 2 years ago
parent c1d5da26d0
commit 2045ae9210

@ -22,15 +22,16 @@ module.exports = (io, bot)=>
.post(dash.post(io));
router.route('/getMessage').get(api.getMessage(bot));
router.route('/leagues').get(api.getTournamentPage);
router.route('/league/:league').get(api.getLeaguePage);
router.route('/leagueListener').get(api.getTournamentListenerPage);
router.route('/game').get(api.getGame);
router.route('/api/getGameData').get(api.getGameData);
router.route('/api/RegisterGame').post(api.registerGame);
router.route('/api/getAllLeagues').get(api.getAllLeagues);
router.route('/api/getLeague').get(api.getLeague);
router.route('/createLeague').get(api.createLeaguePage)
router.route('/api/createLeague').post(api.createLeague)
// This goes to electron
// router.route('/league/:league').get(api.getLeaguePage);
// router.route('/leagueListener').get(api.getTournamentListenerPage);
// router.route('/game').get(api.getGame);
// router.route('/api/getGameData').get(api.getGameData);
// router.route('/api/RegisterGame').post(api.registerGame);
// router.route('/api/getAllLeagues').get(api.getAllLeagues);
// router.route('/api/getLeague').get(api.getLeague);
// router.route('/createLeague').get(api.createLeaguePage)
// router.route('/api/createLeague').post(api.createLeague)
router.route('/addtodiscord').get(homeController.addtodiscord)
return router;
};
Loading…
Cancel
Save