From 9796451829c63c4f1b5d81c1de49e2d88ffe592d Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 1 Aug 2020 20:44:34 -0500 Subject: Fix mime type for feed.xml --- src/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server.js b/src/server.js index 7a21525..92146e3 100644 --- a/src/server.js +++ b/src/server.js @@ -306,6 +306,7 @@ function setUpRoutes(models, jwtFunctions, database) { url: `https://marks.kitchen/post/${post.type}/${post.id}`, }) }) + res.setHeader('Content-Type', 'text/xml') res.status(200).send(feed.xml({indent: true})) }) } -- cgit v1.2.3