You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the newly released v1.0.0-alpha.41 results in my browser URL being re-written to the root when previewing the Vitepress site with a configured base:
exportdefault{title: 'API Docs',description: 'My API Docs',base: '/docs/',}
Resolution
Downgrading to v1.0.0-alpha.40 resolves this issue. No redirect/URL rewrite occurs.
Describe the bug
Using the newly released
v1.0.0-alpha.41
results in my browser URL being re-written to the root when previewing the Vitepress site with a configuredbase
:Resolution
Downgrading to
v1.0.0-alpha.40
resolves this issue. No redirect/URL rewrite occurs.I suspect it's due to this new feature: #1798
Reproduction
base
configuration option to/docs/
yarn docs:build
yarn docs:preview
/docs/
is removed from the URLExpected behavior
The URL should not be rewritten to the root host.
/docs/
should be preserved.System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: