-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[BUG] 404 Error in prod but works in dev mode #6647
Comments
Hello @onrdmr, we need more details to debug this issue. Could you provide a reproducible example? |
Hi Alican, I cannot share reproducible example now. But i think, it is about server side rendering issue like gituhb pages |
Deploying Refine works the same way as deploying any other React app, because Refine uses React’s Context API for its features. But, platform you choose to use with Refine can have diffrences. For example, using Vite with React Router might require different environments and configurations compared to Next.js. I don’t think this issue is caused by Refine, but I asked for a reproducible example just to be sure. There can be many different configurations when deploying an application. For example, we deploy our examples to Netlify, and Netlify requires extra configuration, as seen here: |
Describe the bug
I have 404 not found error when i was routing. I could all routing correctly in dev mode bu i create docker container, I don't go that paths.
Steps To Reproduce
Expected behavior
Render the correct page not give 404 not found page
Packages
@react-router-dom
Additional Context
No response
The text was updated successfully, but these errors were encountered: