This commit is contained in:
parent
e3950b61fd
commit
4f03a9daaa
|
@ -419,10 +419,7 @@ export default function killTheNewsletter(
|
||||||
(req, res, next) => {
|
(req, res, next) => {
|
||||||
const feed = renderFeed(req.params.feedReference);
|
const feed = renderFeed(req.params.feedReference);
|
||||||
if (feed === undefined) return next();
|
if (feed === undefined) return next();
|
||||||
res
|
res.type("atom").header("X-Robots-Tag", "noindex").send(feed);
|
||||||
.contentType("application/atom+xml")
|
|
||||||
.header("X-Robots-Tag", "noindex")
|
|
||||||
.send(feed);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue