aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-08-01 20:44:34 -0500
committerMark Powers <markppowers0@gmail.com>2020-08-01 20:44:34 -0500
commit9796451829c63c4f1b5d81c1de49e2d88ffe592d (patch)
tree7a2a007f53eefaf1f542c9b558b730ebe200d8fb /src
parent89e4e55831e5742092042d582822b2744f66a7a8 (diff)
Fix mime type for feed.xml
Diffstat (limited to 'src')
-rw-r--r--src/server.js1
1 files changed, 1 insertions, 0 deletions
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}))
})
}