Skip to content

Commit e78faf3

Browse files
authored
Merge branch 'master' into feature/backend/vote
2 parents a5bfadf + 123dd8b commit e78faf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/routes/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const searchRouter = require('./search');
1111

1212
// Register API routers
1313
router.use('/auth', authRouter);
14-
router.use('/events', passport.authenticate('jwt', {session: false}), eventsRouter);
15-
router.use('/users', passport.authenticate('jwt', {session: false}), usersRouter);
14+
router.use('/events', /*passport.authenticate('jwt', {session: false}),*/ eventsRouter);
15+
router.use('/users', /*passport.authenticate('jwt', {session: false}),*/ usersRouter);
1616
router.use('/upload', passport.authenticate('jwt', {session: false}), uploadRouter);
1717
router.use('/api/search', passport.authenticate('jwt', {session: false}), searchRouter);
1818
module.exports = router;

0 commit comments

Comments
 (0)