diff options
author | 2021-12-13 17:30:24 -0400 | |
---|---|---|
committer | 2021-12-13 16:30:24 -0500 | |
commit | bd1956b72f766a4bed6da00cbe935d628c7116f1 (patch) | |
tree | e060b8ef81252934855a9cc7b221a2be322aa8ed | |
parent | b9c5778d45d1639f759e920edb1f6d1cb52b059f (diff) | |
download | astro-bd1956b72f766a4bed6da00cbe935d628c7116f1.tar.gz astro-bd1956b72f766a4bed6da00cbe935d628c7116f1.tar.zst astro-bd1956b72f766a4bed6da00cbe935d628c7116f1.zip |
Revert default RSS feed generated to rss.xml (0.21 changed to feed.xml) (#2172)
* Create sandbox.config.json specifying port 3000
* Update sandbox.config.json
* Create sandbox.config.json for blog example
* Create sandbox.config.json for multiple authors blog
* added sandbox config to portfolios
* [ci] yarn format
* added sandbox.config.json to more frameworks examples
* [ci] yarn format
* reverted default rss to rss.xml
Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
-rw-r--r-- | packages/astro/src/core/ssr/rss.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/ssr/rss.ts b/packages/astro/src/core/ssr/rss.ts index b87cc4565..4a691565d 100644 --- a/packages/astro/src/core/ssr/rss.ts +++ b/packages/astro/src/core/ssr/rss.ts @@ -80,7 +80,7 @@ export function generateRssFunction(site: string | undefined, route: RouteData): throw new Error(`[${route.component}] rss() tried to generate RSS but "buildOptions.site" missing in astro.config.mjs`); } const { dest, ...rssData } = args; - const feedURL = dest || '/feed.xml'; + const feedURL = dest || '/rss.xml'; result.url = feedURL; result.xml = generateRSS({ rssData, site, srcFile: route.component, feedURL }); }, |