change /guestbook.rss mime type

This commit is contained in:
b1ek 2023-02-27 16:34:44 +10:00
parent 169a8a2405
commit f306696bc1
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ async function rss(req, res) {
let ident = 4; let ident = 4;
if (req.query.ident) ident = req.query.ident; if (req.query.ident) ident = req.query.ident;
res.header('Content-Type', 'text/plain'); res.header('Content-Type', 'application/rss+xml');
res.send(xml(rss, {indent: ' '.repeat(ident)})); res.send(xml(rss, {indent: ' '.repeat(ident)}));
return; return;
} }