lighthouse-ci
lighthouse-ci copied to clipboard
Impossible to run specific URLs in SPA with staticDistDir
I am using lhci autorun
with staticDistDir
ci: {
collect: {
staticDistDir: './build',
...
and I can see that it runs on http://localhost:51879/index.html
and everything is fine, but when I want to add additional URL inside app to verify with url
option it does not work.
When I provide url: ['/test-page']
it tries to load http://localhost:62009/test-page
and fails with error
Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 404)