Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppeteer Worker only allows .html or no declared extension #231

Open
madolinn opened this issue Aug 2, 2024 · 0 comments
Open

Puppeteer Worker only allows .html or no declared extension #231

madolinn opened this issue Aug 2, 2024 · 0 comments

Comments

@madolinn
Copy link

madolinn commented Aug 2, 2024

if (!extension.includes('html')) {

Unlighthouse will not crawl, nor accept routes through a sitemap, that are explicitly defined filetypes that could potentially return HTML content that aren't HTML file formats.

ASPX, PHP, etc are some valid response extensions that would return potentially valid and parse able HTML documents.

Adding a whitelist extensions option for routes could resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant