Replies: 1 comment
-
It depends how you're hosting your files. Cloudflare Pages, netlify etc. will redirect paths to
What server are you using to host your static files? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two routes, “/posts” and “posts/:postId”.
I also have a not found route which will redirect to “/posts”.
All works fine in development. But when deployed to prod, I press refresh on the page “https://domain.com/posts”. The page not found error come out. But if I delete the “/posts” on the url and press enter, the page works again.
Anyone knows what causing this issue? Is it related to js files entry point
Beta Was this translation helpful? Give feedback.
All reactions