Skip to content

Commit

Permalink
temp: log
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre committed Apr 30, 2024
1 parent 9882cab commit f11c640
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package/src/sitemap/generate-sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ export function generateSitemap(
sitemapOptions?.dynamicParams,
).find((e) => e.locale === equivalentRoute.route.locale);

// TODO: remove
console.dir(
{
page,
options,
sitemapOptions: normalizeDynamicParams(sitemapOptions?.dynamicParams),
},
{ depth: null },
);

if (!options) {
// A dynamic route is not required to always have an equivalent in another language eg.
// en: /blog/a
Expand Down

0 comments on commit f11c640

Please sign in to comment.