diff --git a/src/modules/feeds/infrastructure/http/routes/feedRoutes.ts b/src/modules/feeds/infrastructure/http/routes/feedRoutes.ts index 2b41ea83..596d1c35 100644 --- a/src/modules/feeds/infrastructure/http/routes/feedRoutes.ts +++ b/src/modules/feeds/infrastructure/http/routes/feedRoutes.ts @@ -9,7 +9,7 @@ export function createFeedRoutes( const router = Router(); // Apply authentication middleware to all feed routes - router.use(authMiddleware.ensureAuthenticated()); + router.use(authMiddleware.optionalAuth()); // GET /api/feeds/global - Get global feed router.get('/global', (req, res) =>