Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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'); |
-
Please register or login to post a comment