From 746dbbad0115a295dfcd0ebf684fb490670890ba Mon Sep 17 00:00:00 2001 From: Alessio Date: Mon, 16 Sep 2024 11:15:53 +0100 Subject: [PATCH] fixed data.urls replace --- lighthouse/lighthouse-get-urls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse/lighthouse-get-urls.js b/lighthouse/lighthouse-get-urls.js index bd6dfc0710..534c136c64 100644 --- a/lighthouse/lighthouse-get-urls.js +++ b/lighthouse/lighthouse-get-urls.js @@ -32,7 +32,7 @@ async function getURLs() { for (const folder of folders) { const files = await glob(`${directory.path}/${folder}/**/*.html`, { ignore: `${directory.path}/${folder}/index.html` }); for (const file of files) { - data.urls.push(file.replace('./build/', 'http://localhost:9000/')); + data.urls.push(file.replace('build/', 'http://localhost:9000/')); } } }