New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
page render error #3832
Comments
Won't be fixed in dev. It works fine build + serve. |
@brc-dd can you check like thiss ?? working like this |
You're using dev mode not prod site. Dev mode is correct. In prod you need to handle this in your server. without proper routing, /en/test/ means there should be a file /en/test/index.md and /en/test means there should be a file /en/test.md With cleanUrls: true, it should work fine on prod as long as your backend serves correct file. The provided nginx configuration in docs might be wrong though. It was contributed by external contributors and may not handle this case. PRs are welcome to update it. |
dev will match prod behavior in next release. Regarding nginx config, I'll try to update the docs, but I don't have much experience with that. |
Describe the bug
if I use "/" character end of url, sidebar and middle page not working normally.
Reproduction
check this error
https://stackblitz.com/edit/vite-9jamew
if you see error, add to
<stackblitz test url>/en/test/
and enter. 404 page coming.but
<stackblitz test url>/en/test
like this working.Expected behavior
need to work normally. 404 page is wrong.
System Info
Additional context
nginx conf like
Validations
The text was updated successfully, but these errors were encountered: