I mistakenly set 'test.md': '/pages/teste1.md' instead of 'test.md': 'pages/test1.md'.
This error allows the page to load correctly in the development environment but results in a 404 error upon refreshing.
I acknowledge this as a simple mistake that caused me two days of confusion.
I believe it would be helpful to have a validation check to catch such errors and provide a clear error message. Additionally, the rewrite rule works in development but fails in production.
I am unsure if this usage is correct. Could you please review my demo for further assistance?
I expect that all pages should function normally when navigating, and that the behavior should be consistent between production and development environments.
Describe the bug
In the rewrites configuration,
I mistakenly set 'test.md': '/pages/teste1.md' instead of 'test.md': 'pages/test1.md'.
This error allows the page to load correctly in the development environment but results in a 404 error upon refreshing.
I acknowledge this as a simple mistake that caused me two days of confusion.
I believe it would be helpful to have a validation check to catch such errors and provide a clear error message. Additionally, the rewrite rule works in development but fails in production.
I am unsure if this usage is correct. Could you please review my demo for further assistance?
demo
My project is a blog.
I can access it through a new URL, but when navigating, the page still uses the old URL.
This behavior is abnormal.
Please check the homepage The branch page cannot be navigated properly from the homepage
although the branch page is actually accessible.
Reproduction
demo
Expected behavior
I expect that all pages should function normally when navigating, and that the behavior should be consistent between production and development environments.
System Info
Additional context
No response
Validations