Skip to content

Commit f335e2f

Browse files
committed
add sitemap content-type and update the chrome extension version
1 parent b61edc0 commit f335e2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

chrome-extension/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "LC Predictor",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55

66
"short_name": "LC Predictor",
77
"background": {

controllers/sitemapController.js

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const getURLsCollection = async () => {
4949
let sitemapXML;
5050
exports.get = async function (req, res) {
5151
res.header("Content-Encoding", "gzip");
52+
res.set("Content-Type", "application/xml");
53+
5254
// if we have a cached entry send it
5355
if (sitemapXML) {
5456
res.send(sitemapXML);

0 commit comments

Comments
 (0)