Closed pclokcer closed 2 weeks ago
Won't be fixed in dev. It works fine build + serve.
not working
@brc-dd can you check like thiss ??
working
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