Skip to content

Commit

Permalink
Fix Lighthouse Compliance (#44)
Browse files Browse the repository at this point in the history
* fix: add https to external sources and doctype to renderer

* fix: reverse https, fix doctype in renderer
  • Loading branch information
hutchgrant authored and thescientist13 committed Apr 26, 2019
1 parent 85f57f5 commit b34dd01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/lib/util/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Renderer {
return { status: 400, content: '' };
}
// Serialize page.
const result = await page.evaluate('document.firstElementChild.outerHTML');
const result = await page.content();

await page.close();

Expand Down

0 comments on commit b34dd01

Please sign in to comment.