We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ccd5d commit d966d08Copy full SHA for d966d08
2 files changed
editor/pages/api/sitemap/community/files.ts
@@ -39,6 +39,7 @@ export default async function handler(req, res) {
39
res.statusCode = 200;
40
res.setHeader("Content-Encoding", "gzip");
41
res.setHeader("Content-Type", "application/xml");
42
+ res.setHeader("Content-Length", xmlgz.length);
43
res.setHeader("Cache-Control", "public, max-age=604800"); // 1 week
44
res.write(xmlgz);
45
res.end();
editor/pages/api/sitemap/community/tag.ts
@@ -37,6 +37,7 @@ export default async function handler(req, res) {
37
38
0 commit comments