Authored by 陈峰

修改rss配置

@@ -50,7 +50,7 @@ const index = (req, res, next) => { @@ -50,7 +50,7 @@ const index = (req, res, next) => {
50 return res.send(feed.render('rss-2.0')) 50 return res.send(feed.render('rss-2.0'))
51 }); 51 });
52 }; 52 };
53 -const rss = (req, res, next, gmt = '') => { 53 +const rss = (req, res, next, gmt) => {
54 let gender = req.query.gender || '1,2,3', 54 let gender = req.query.gender || '1,2,3',
55 items = []; 55 items = [];
56 res.setHeader('Content-Type', 'text/xml; charset=utf-8'); 56 res.setHeader('Content-Type', 'text/xml; charset=utf-8');