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.81k stars 110 forks source link

index.html as a route does not work #132

Closed ghulththrw closed 1 year ago

ghulththrw commented 1 year ago

Describe the bug

Building a static report and trying to open /index.html instead of / results in the "Not Found" message from the vite catch-all route instead of the report overview.

Example: https://vue-demo.unlighthouse.dev/index.html

It would be great if /index.html would also work. Because when using Unlighthouse in GitLab CI to create a static report, the resulting files can be browsed as build artifact. But when clicking on index.html the above error appears.

Due to a GitLab issue the index.html will not be served at /, which makes it impossible to view the static report as a artifact in a GitLab pipeline.

Reproduction

No response

System / Nuxt Info

No response

ghulththrw commented 1 year ago

This is a duplicate of #118