Skip to content

Commit

Permalink
fixed data.urls replace
Browse files Browse the repository at this point in the history
  • Loading branch information
alessioventuriniAND committed Sep 16, 2024
1 parent 3c2ff03 commit 746dbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse/lighthouse-get-urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/'));
}
}
}
Expand Down

0 comments on commit 746dbba

Please sign in to comment.