diff --git a/scripts/pagespeed-sitemap.ts b/scripts/pagespeed-sitemap.ts index a81709985..75c0e6faa 100644 --- a/scripts/pagespeed-sitemap.ts +++ b/scripts/pagespeed-sitemap.ts @@ -148,7 +148,7 @@ async function main() { execSync(lhciCommand, { encoding: 'utf8', stdio: 'inherit', - env: { ...process.env, CHROME_PATH: chromePath }, + env: { ...process.env, CHROME_PATH: chromePath, TARGET_URL: targetUrl }, }); } catch (err: any) { console.warn('⚠️ LHCI assertion finished with warnings or errors.');