harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.88k stars 114 forks source link

Query string URL paths ignored #207

Closed manafire closed 1 month ago

manafire commented 7 months ago

Describe the bug

I'm trying to crawl an old WordPress site where every page/post is reference via query param. I tried disabling dynamicSampling and even manually specifying the URLs but they don't come up in the report.

  urls: [
    '/', 
    '/?page_id=1193',
    '/?page_id=43',
    '/?page_id=856',
  ],  

=> Unlighthouse has finished scanning .... 1 routes in 15s.

Reproduction

No response

System / Nuxt Info

No response

ErikCarlson-RGA commented 1 month ago

I can confirm this ?unintended? functionality. We have pages that load different assets and content based on the ?id=num values. It is important to be able to use query strings with the ever growing nature if single page reactive sites.

harlan-zw commented 1 month ago

Hi, thanks for the ping on this issue, i've pushed up a fix in v0.14.0.