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)); .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('/league/:league').get(api.getLeaguePage); // This goes to electron
router.route('/leagueListener').get(api.getTournamentListenerPage); // router.route('/league/:league').get(api.getLeaguePage);
router.route('/game').get(api.getGame); // router.route('/leagueListener').get(api.getTournamentListenerPage);
router.route('/api/getGameData').get(api.getGameData); // router.route('/game').get(api.getGame);
router.route('/api/RegisterGame').post(api.registerGame); // router.route('/api/getGameData').get(api.getGameData);
router.route('/api/getAllLeagues').get(api.getAllLeagues); // router.route('/api/RegisterGame').post(api.registerGame);
router.route('/api/getLeague').get(api.getLeague); // router.route('/api/getAllLeagues').get(api.getAllLeagues);
router.route('/createLeague').get(api.createLeaguePage) // router.route('/api/getLeague').get(api.getLeague);
router.route('/api/createLeague').post(api.createLeague) // router.route('/createLeague').get(api.createLeaguePage)
// router.route('/api/createLeague').post(api.createLeague)
router.route('/addtodiscord').get(homeController.addtodiscord) router.route('/addtodiscord').get(homeController.addtodiscord)
return router; return router;
}; };
Loading…
Cancel
Save