@@ -18,7 +18,7 @@ import challengeRoutes from './src/routes/challenge.routes';
1818import defaultRoute from './src/routes/default.routes' ;
1919import discordRoutes from './src/routes/discord.routes' ;
2020import emailRoutes from './src/routes/email.routes' ;
21- import eventRoutes from './src/routes/event .routes' ;
21+ import settingsRoutes from './src/routes/settings .routes' ;
2222import factionRoutes from './src/routes/faction.routes' ;
2323import imexportRouter from './src/routes/im_export.routes' ;
2424import newsRoutes from './src/routes/news.routes' ;
@@ -27,6 +27,7 @@ import roleRoutes from './src/routes/role.routes';
2727import teamRoutes from './src/routes/team.routes' ;
2828import tentRoutes from './src/routes/tent.routes' ;
2929import userRoutes from './src/routes/user.routes' ;
30+ import makerBattleRoutes from './src/routes/maker_battle.routes' ;
3031import bannedRoutes from './src/routes/banned.routes' ;
3132import { server_port } from './src/shared/secrets/secrets' ;
3233import { initQcmvss } from './src/database/initdb/initQcmvss' ;
@@ -59,7 +60,7 @@ async function startServer() {
5960 app . use ( '/api/role' , authenticateUser , roleRoutes ) ;
6061 app . use ( '/api/user' , authenticateUser , userRoutes ) ;
6162 app . use ( '/api/team' , authenticateUser , teamRoutes ) ;
62- app . use ( '/api/event ' , authenticateUser , eventRoutes ) ;
63+ app . use ( '/api/settings ' , authenticateUser , settingsRoutes ) ;
6364 app . use ( '/api/faction' , authenticateUser , factionRoutes ) ;
6465 app . use ( '/api/imexport' , authenticateUser , imexportRouter ) ;
6566 app . use ( '/api/permanence' , authenticateUser , permanenceRoutes ) ;
@@ -69,6 +70,7 @@ async function startServer() {
6970 app . use ( '/api/discord' , authenticateUser , discordRoutes ) ;
7071 app . use ( '/api/tent' , authenticateUser , tentRoutes ) ;
7172 app . use ( '/api/bus' , authenticateUser , busRoutes ) ;
73+ app . use ( '/api/maker-battle' , authenticateUser , makerBattleRoutes ) ;
7274 app . use ( '/api/uploads/news' , express . static ( path . join ( __dirname , '/uploads/news' ) ) ) ;
7375 app . use ( '/api/uploads/notebooks' , express . static ( path . join ( __dirname , '/uploads/notebooks' ) ) ) ;
7476 app . use ( '/api/uploads/foodmenu' , express . static ( path . join ( __dirname , '/uploads/foodmenu' ) ) ) ;
0 commit comments