diff --git a/project/storefront/src/app/sitemap.ts b/project/storefront/src/app/sitemap.ts index f9333be..85e519a 100644 --- a/project/storefront/src/app/sitemap.ts +++ b/project/storefront/src/app/sitemap.ts @@ -14,7 +14,7 @@ const STATIC_ROUTES = ['/', '/products/search'] as const; export default async function sitemap(): Promise { const [products, categories, brands] = await Promise.all([ - listActiveProducts(), + listSafe(() => listActiveProducts()), listSafe(() => listCategoryTree()), listSafe(() => listBrands()), ]);