Skip to content

Commit

Permalink
fix lighthouse reports path
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 authored Jun 28, 2021
1 parent 31fe93d commit 442fcd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ const reportUrl = (metric, slug, onDemand) => {

switch (metric.database) {
case "lighthouse":
if (metric.measurement === 'performance-score'){
return fileUrl("lighthouse-reports/lighthouse.html")
}
if (metric.measurement === 'performance-score_fast'){
return fileUrl("lighthouse-reports/lighthouse_fast.html")
}
else {
return fileUrl("lighthouse-reports/lighthouse.html")
}

case "linksintegrity":
return fileUrl("linksintegrity-results/linksintegrity.txt")
Expand Down

0 comments on commit 442fcd9

Please sign in to comment.