Skip to content

Commit bda352b

Browse files
fix: pass formats to lighthouse
1 parent 2e0f208 commit bda352b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ router.get(
8484
const results = await playAudit({
8585
reports: {
8686
formats: {
87-
html: true,
87+
html: query.formats.includes("html"),
88+
json: query.formats.includes("json"),
8889
},
8990
},
9091
page: page,

0 commit comments

Comments
 (0)