Closed fjun99 closed 2 weeks ago
How are you hosting your site?
How are you hosting your site?
I host my site on vercel.
And in dev mode, this is the case. So I suggest to make some changes in vitepress.
In prod (vitepress preview
) it should work fine. Fixing this in dev was explored earlier but was bit complex. If it's not working for you in deployed version, you probably need to configure vercel.
In prod (
vitepress preview
) it should work fine. Fixing this in dev was explored earlier but was bit complex. If it's not working for you in deployed version, you probably need to configure vercel.
thanks
Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Take https://abc.com/tutorial/ as an example:
if there is an "index.md", https://abc.com/tutorial/ is ok.
but https://abc.com/tutorial is 404
Can we let https://abc.com/tutorial redirect to https://abc.com/tutorial/ by default.
Thanks.
Describe alternatives you've considered
No response
Additional context
No response
Validations