yufan.me/patches/@astrojs+rss+4.0.10.patch

14 lines
502 B
Diff

diff --git a/node_modules/@astrojs/rss/dist/index.js b/node_modules/@astrojs/rss/dist/index.js
index 24a3b42..d5d9eab 100644
--- a/node_modules/@astrojs/rss/dist/index.js
+++ b/node_modules/@astrojs/rss/dist/index.js
@@ -28,7 +28,7 @@ async function getRssResponse(rssOptions) {
const rssString = await getRssString(rssOptions);
return new Response(rssString, {
headers: {
- "Content-Type": "application/rss+xml; charset=utf-8"
+ "Content-Type": "application/xml"
}
});
}