Updated coverage

This commit is contained in:
Klemek
2019-06-26 18:56:01 +02:00
parent 8fc7ff1ca7
commit 0fde428806
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ module.exports = (config) => {
});
lastRSS = feed.xml();
}
res.type(req.headers['user-agent'].match(/Mozilla/) ? 'xml' : 'rss').send(lastRSS);
res.type(req.headers['user-agent'].match(/Mozilla/) ? 'text/xml' : 'rss').send(lastRSS);
} else {
showError(req.path, 404, res);
}