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 babf57f commit 28079e9Copy full SHA for 28079e9
packages/integrations/sitemap/src/index.ts
@@ -160,7 +160,7 @@ const createPlugin = (options?: SitemapOptions): AstroIntegration => {
160
addRouteUrl(urls, r);
161
162
// Include i18n fallback routes (e.g. /fr/ falling back to /en/)
163
- for (const fallbackRoute of (r.fallbackRoutes ?? [])) {
+ for (const fallbackRoute of r.fallbackRoutes ?? []) {
164
addRouteUrl(urls, fallbackRoute);
165
}
166
0 commit comments