From 2045ae9210ece48375ff2fd76529d3e0bc79f338 Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Sun, 16 Apr 2023 18:55:36 +0100 Subject: [PATCH] clear routes for league torunament as it will go into a different project --- routes/routes.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/routes/routes.js b/routes/routes.js index f080b1d..430ac9a 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -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; }; \ No newline at end of file