vitest icon indicating copy to clipboard operation
vitest copied to clipboard

Navigating to vitest.dev/guide (no trailing slash) combines the guide and homepage

Open Alex-Mastin opened this issue 3 years ago • 1 comments

Describe the bug

Noticed this issue with the official docs.

If you navigate to the guide page without a trailing slash, it combines the homepage and guide into one. It does add the trailing slash to the URL, but it just mashes everything together. All navigation works, but it fails to properly swap what is displayed for a given route.

Reproduction

Navigate here: https://vitest.dev/guide

And you should see this: image


Navigate here: https://vitest.dev/guide/

And you should see this: image

System Info

Chrome 114.0.5735.90

Used Package Manager

npm

Validations

Alex-Mastin avatar Jun 07 '23 19:06 Alex-Mastin

This should be fixed when Vitest 1.3.0 is released.

sheremet-va avatar Feb 16 '24 14:02 sheremet-va